diff --git a/tasks/main.yml b/tasks/main.yml index e1ce983e340e0d4b8b9a2d65570d6c742a1aee8d..7b2ea3027bbc3157bf75c0459aec0cdf4049e41f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,15 +1,21 @@ - name: install dropbear-initramfs apt: - pkg: + pkg: dropbear-initramfs - name: write config file for dropbear-initramfs notify: update initramfs template: src: config.j2 dest: /etc/dropbear-initramfs/config + mode: 0644 + owner: root + group: root - name: write authorized_keys file for dropbear-initramfs notify: update initramfs template: src: authorized_keys.j2 dest: /etc/dropbear-initramfs/authorized_keys + mode: 0644 + owner: root + group: root