Skip to content
Snippets Groups Projects
Commit 122625e8 authored by Juraj Paluba's avatar Juraj Paluba
Browse files

Resolve "Configure user-access for user accessible nodes"

parent 2570b51b
No related branches found
No related tags found
No related merge requests found
...@@ -188,6 +188,7 @@ ...@@ -188,6 +188,7 @@
roles: roles:
- role: kypo-user-access - role: kypo-user-access
kypo_user_access_username: kypo-user
kypo_user_access_ssh_public_key_options: 'restrict,port-forwarding,command="/usr/sbin/nologin"' kypo_user_access_ssh_public_key_options: 'restrict,port-forwarding,command="/usr/sbin/nologin"'
- name: User and management access on KYPO Proxy - name: User and management access on KYPO Proxy
...@@ -241,6 +242,18 @@ ...@@ -241,6 +242,18 @@
force: yes force: yes
when: not user_access_present and not other_users_from_pool_exists when: not user_access_present and not other_users_from_pool_exists
- name: Configure user access for user accessible hosts
hosts: user_accessible_nodes
strategy: free
gather_facts: false
become: true
become_user: root
roles:
- role: kypo-user-access
kypo_user_access_username: kypo-user
kypo_user_access_passwod: kypo-password
- name: check the connection with virtual machines through winrm protocol - name: check the connection with virtual machines through winrm protocol
hosts: winrm_nodes hosts: winrm_nodes
# strategy: free # strategy: free
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment