From 7585a5d69df0d1cd5e3d7d9382c115d6a93b2ef9 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 17 Jun 2018 22:19:54 +0200 Subject: [PATCH] preseed: Do not let authorized_key mess with directory permissions --- ansible/roles/preseed/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) 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') }}" -- 1.7.10.4