forked from infra/ansible
14 lines
269 B
YAML
14 lines
269 B
YAML
---
|
|
|
|
- name: Install unattended upgrades
|
|
apt: name={{ item }}
|
|
loop:
|
|
- unattended-upgrades
|
|
- debian-goodies
|
|
|
|
- name: Configure unattended upgrades
|
|
template: src={{ item }}.j2 dest=/etc/apt/apt.conf.d/{{ item }}
|
|
loop:
|
|
- 02periodic
|
|
- 50unattended-upgrades
|