2022-12-20 19:47:11 +01:00
|
|
|
---
|
|
|
|
- name: "install unattended-upgrades"
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name: "unattended-upgrades"
|
|
|
|
|
|
|
|
- name: "configure unattended-upgrades"
|
2023-02-25 10:40:11 +01:00
|
|
|
ansible.builtin.template:
|
2023-07-08 09:45:59 +02:00
|
|
|
src: "./50unattended-upgrades"
|
2022-12-20 19:47:11 +01:00
|
|
|
dest: "/etc/apt/apt.conf.d/50unattended-upgrades"
|
|
|
|
mode: 0644
|
|
|
|
|
|
|
|
- name: "enable unattended-upgrades"
|
2023-02-25 10:40:11 +01:00
|
|
|
ansible.builtin.template:
|
2023-07-08 09:45:59 +02:00
|
|
|
src: "./20auto-upgrades"
|
2022-12-20 19:47:11 +01:00
|
|
|
dest: "/etc/apt/apt.conf.d/20auto-upgrades"
|
|
|
|
mode: 0644
|