ansible-config/roles/common/tasks/unattended-upgrades.yml
Alexander Dietrich 17468493cc Update common role
- Add secure-secure-shell task
- Add unattended-upgrades task
- Change package installation tasks
- Remove website tasks from generic services group
2017-02-05 13:45:33 +01:00

19 lines
392 B
YAML

---
- name: install unattended-upgrades
apt:
name: unattended-upgrades
state: present
- name: copy 10periodic
copy:
src: files/10periodic
dest: /etc/apt/apt.conf.d
- name: template 50unattended-upgrades
template:
src: templates/50unattended-upgrades.j2
dest: /etc/apt/apt.conf.d/50unattended-upgrades
notify:
- upgrade packages
- clean package cache