mirror of
https://github.com/trailofbits/algo.git
synced 2025-07-25 06:53:00 +02:00
* Keep custom dnscrypt-proxy conffile when upgrading * Unattended upgrade tuning - Upgrade the 50unattended-upgrades file with latest options - Keep the common unattended upgrade options in one file - Enable removing of unused kernels and dependencies to save some space
21 lines
441 B
YAML
21 lines
441 B
YAML
---
|
|
- name: Install unattended-upgrades
|
|
apt:
|
|
name: unattended-upgrades
|
|
state: present
|
|
|
|
- name: Configure unattended-upgrades
|
|
template:
|
|
src: 50unattended-upgrades.j2
|
|
dest: /etc/apt/apt.conf.d/50unattended-upgrades
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
|
|
- name: Periodic upgrades configured
|
|
template:
|
|
src: 10periodic.j2
|
|
dest: /etc/apt/apt.conf.d/10periodic
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|