forked from ISTI-ansible-roles/ansible-roles
library/roles/ssh-keys/tasks/non-root-ssh-keys.yml: Fix the behaviour.
This commit is contained in:
parent
f0f94260c5
commit
9355b3eea8
|
@ -2,7 +2,6 @@
|
||||||
- name: Install the ssh keys for non root users
|
- name: Install the ssh keys for non root users
|
||||||
authorized_key: user={{ item.0.name }} key="{{ item.1 }}" state=present
|
authorized_key: user={{ item.0.name }} key="{{ item.1 }}" state=present
|
||||||
when:
|
when:
|
||||||
- authorized_keys is defined
|
|
||||||
- non_root_users
|
- non_root_users
|
||||||
with_subelements:
|
with_subelements:
|
||||||
- ssh_users_list
|
- ssh_users_list
|
||||||
|
|
Loading…
Reference in New Issue