manage root ssh-keys exclusively

This commit is contained in:
Farhad Shahbazi
2016-05-02 11:05:10 +02:00
parent bbad5f2137
commit 5cbb4a0398

View File

@@ -14,7 +14,6 @@
tags: ['common', 'openssh']
- name: openssh - root keys
authorized_key: user="root" key="{{ item }}"
with_items: "{{ common_openssh_keys_root }}"
authorized_key: user="root" key="{{ common_openssh_keys_root | join("\n") }}" exclusive=yes
when: common_openssh_keys_root
tags: ['common', 'openssh', 'ssh-keys']