ansible-roles/ubuntu-deb-general/tasks/unattended-upgrades.yml

15 lines
416 B
YAML

---
- name: Install the unattended-upgrades package. We use it to manage security fix.
apt: pkg=unattended-upgrades state=latest
tags:
- packages
- upgrades
- unattended
- name: Install the unattended-upgrades configuration
template: src=50unattended-upgrades.j2 dest=/etc/apt/apt.conf.d/50unattended-upgrades owner=root group=root mode=0444
tags:
- packages
- upgrades
- unattended