Add root keys for all users #120
|
@ -18,5 +18,5 @@
|
|||
- name: "Add ssh authorized_keys to root user"
|
||||
authorized_key:
|
||||
user: "root"
|
||||
key: "{{ users | default([]) | map(attribute='ssh_keys') | join('\n') }}"
|
||||
key: "{{ users | default([]) | map(attribute='ssh_keys') | flatten | join('\n') }}"
|
||||
exclusive: true
|
||||
|
|
Loading…
Reference in a new issue