14 lines
281 B
YAML
14 lines
281 B
YAML
|
---
|
||
|
|
||
|
- 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
|