agaric-coop/box/provisioning/roles/geerlingguy.security/tasks/autoupdate-Debian.yml

15 lines
358 B
YAML
Raw Permalink Normal View History

---
- name: Install unattended upgrades package.
apt: name=unattended-upgrades state=present
- name: Copy unattended-upgrades configuration files in place.
template:
src: "../templates/{{ item }}.j2"
dest: "/etc/apt/apt.conf.d/{{ item }}"
owner: root
group: root
mode: 0644
with_items:
- 10periodic
- 50unattended-upgrades