manage root ssh-keys exclusively
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
tags: ['common', 'openssh']
|
tags: ['common', 'openssh']
|
||||||
|
|
||||||
- name: openssh - root keys
|
- name: openssh - root keys
|
||||||
authorized_key: user="root" key="{{ item }}"
|
authorized_key: user="root" key="{{ common_openssh_keys_root | join("\n") }}" exclusive=yes
|
||||||
with_items: "{{ common_openssh_keys_root }}"
|
|
||||||
when: common_openssh_keys_root
|
when: common_openssh_keys_root
|
||||||
tags: ['common', 'openssh', 'ssh-keys']
|
tags: ['common', 'openssh', 'ssh-keys']
|
||||||
|
|||||||
Reference in New Issue
Block a user