Don't add keys to root by default
This commit is contained in:
parent
2e5dc7158d
commit
90090f4bc9
|
@ -13,9 +13,3 @@
|
||||||
user: "{{ item.key }}"
|
user: "{{ item.key }}"
|
||||||
key: "{{ item.value.key }}"
|
key: "{{ item.value.key }}"
|
||||||
with_dict: "{{ users | default({}) }}"
|
with_dict: "{{ users | default({}) }}"
|
||||||
|
|
||||||
- name: "Add ssh authorized_keys to root user"
|
|
||||||
authorized_key:
|
|
||||||
user: "root"
|
|
||||||
key: "{{ item.value.key }}"
|
|
||||||
with_dict: "{{ users | default({}) }}"
|
|
||||||
|
|
Loading…
Reference in a new issue