Don't add keys to root by default #35
|
@ -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