Compare commits
3 commits
a03263b1f5
...
a92d840ce0
Author | SHA1 | Date | |
---|---|---|---|
reynir | a92d840ce0 | ||
Reynir Björnsson | 5a54eb6b1e | ||
Reynir Björnsson | c802777867 |
|
@ -18,6 +18,5 @@
|
||||||
- name: "Add ssh authorized_keys to root user"
|
- name: "Add ssh authorized_keys to root user"
|
||||||
authorized_key:
|
authorized_key:
|
||||||
user: "root"
|
user: "root"
|
||||||
key: "{{ item.ssh_keys | join('\n') }}"
|
key: "{{ users | default([]) | map(attribute='ssh_keys') | flatten | join('\n') }}"
|
||||||
exclusive: true
|
exclusive: true
|
||||||
loop: "{{ users | default([]) }}"
|
|
||||||
|
|
Loading…
Reference in a new issue