diff --git a/provisioning/playbook.yml b/provisioning/playbook.yml index 5df8acec799bdc5ae8060b4f3d7e8b4b52d6e2ec..f73a685320ad147754224f9b9def20d00c119e09 100644 --- a/provisioning/playbook.yml +++ b/provisioning/playbook.yml @@ -188,6 +188,7 @@ roles: - role: kypo-user-access + kypo_user_access_username: kypo-user kypo_user_access_ssh_public_key_options: 'restrict,port-forwarding,command="/usr/sbin/nologin"' - name: User and management access on KYPO Proxy @@ -241,6 +242,18 @@ force: yes 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 hosts: winrm_nodes # strategy: free