Don't add keys to root by default #35

Closed
reynir wants to merge 1 commit from reynir/ansible:no-root-keys into main
Showing only changes of commit 90090f4bc9 - Show all commits

View file

@ -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({}) }}"