ansible/roles/uau/tasks/main.yml

14 lines
281 B
YAML
Raw Normal View History

---
- name: Install unattended upgrades
apt: name={{ item }}
with_items:
- unattended-upgrades
- debian-goodies
- name: Configure unattended upgrades
template: src={{ item }}.j2 dest=/etc/apt/apt.conf.d/{{ item }}
with_items:
- 02periodic
- 50unattended-upgrades