|
---
|
|
# Configure APT repositories and automatic upgrades
|
|
- name: Safely upgrade the server
|
|
apt:
|
|
upgrade: safe
|
|
update_cache: yes
|
|
cache_valid_time: "3600"
|
|
|
|
- name: Install unattend-upgrades for automatic upgrades
|
|
apt:
|
|
name: unattended-upgrades
|
|
state: present |