preseed: Do not let authorized_key mess with directory permissions
authornicoo <nicoo@realraum.at>
Sun, 17 Jun 2018 20:19:54 +0000 (22:19 +0200)
committernicoo <nicoo@realraum.at>
Sat, 24 Nov 2018 23:30:26 +0000 (00:30 +0100)
ansible/roles/preseed/tasks/main.yml

index f77540a..d458d49 100644 (file)
@@ -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') }}"