Don't add keys to root by default #35

Closed
reynir wants to merge 1 commits from reynir/ansible:no-root-keys into main
1 changed files with 0 additions and 6 deletions

View File

@ -13,9 +13,3 @@
user: "{{ item.key }}"
key: "{{ item.value.key }}"
with_dict: "{{ users | default({}) }}"
- name: "Add ssh authorized_keys to root user"
authorized_key:
user: "root"
key: "{{ item.value.key }}"
with_dict: "{{ users | default({}) }}"