User's ssh-keys are a list that is now being iterated over
This commit is contained in:
@@ -12,5 +12,6 @@
|
||||
- name: Copy local ssh key to authorized keys file
|
||||
authorized_key:
|
||||
user: "{{ os_user.name }}"
|
||||
key: "{{ os_user.ssh_auth_key }}"
|
||||
key: "{{ item }}"
|
||||
loop: "{{ os_user.ssh_auth_keys }}"
|
||||
become: true
|
||||
|
||||
Reference in New Issue
Block a user