Merge pull request 'Add root keys for all users' (#120) from fix-root-keys into main
Reviewed-on: #120
This commit is contained in:
commit
a92d840ce0
|
@ -18,6 +18,5 @@
|
|||
- name: "Add ssh authorized_keys to root user"
|
||||
authorized_key:
|
||||
user: "root"
|
||||
key: "{{ item.ssh_keys | join('\n') }}"
|
||||
key: "{{ users | default([]) | map(attribute='ssh_keys') | flatten | join('\n') }}"
|
||||
exclusive: true
|
||||
loop: "{{ users | default([]) }}"
|
||||
|
|
Loading…
Reference in a new issue