summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.yaml')
-rw-r--r--playbook.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/playbook.yaml b/playbook.yaml
index dd3281b..cad691d 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -483,6 +483,15 @@
become: true
notify: Restart sshd
+ - name: Ensure unattended upgrades config is installed
+ ansible.builtin.copy:
+ src: "{{ playbook_dir }}/files/50unattended-upgrades"
+ dest: "/etc/apt/apt.conf.d/50unattended-upgrades"
+ owner: root
+ group: root
+ mode: "0644"
+ become: true
+
handlers:
- name: Restart prosody