From: nicoo Date: Sun, 17 Jun 2018 20:19:54 +0000 (+0200) Subject: preseed: Do not let authorized_key mess with directory permissions X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=7585a5d69df0d1cd5e3d7d9382c115d6a93b2ef9;p=noc.git preseed: Do not let authorized_key mess with directory permissions --- diff --git a/ansible/roles/preseed/tasks/main.yml b/ansible/roles/preseed/tasks/main.yml index f77540a..d458d49 100644 --- a/ansible/roles/preseed/tasks/main.yml +++ b/ansible/roles/preseed/tasks/main.yml @@ -21,6 +21,7 @@ - name: Generate authorized_keys file authorized_key: user: root + manage_dir: no path: "{{ tmpdir }}/authorized_keys" key: "{{ ssh_keys | join('\n') }}"