16 lines
426 B
YAML
16 lines
426 B
YAML
- name: Install unattended-upgrades
|
|
apt:
|
|
name: unattended-upgrades
|
|
|
|
- name: Configure unattended-upgrades
|
|
copy:
|
|
src: ./filesystem/common/etc/apt/apt.conf.d/50unattended-upgrades
|
|
dest: /etc/apt/apt.conf.d/50unattended-upgrades
|
|
mode: 0644
|
|
|
|
- name: Enable unattended-upgrades
|
|
copy:
|
|
src: ./filesystem/common/etc/apt/apt.conf.d/20auto-upgrades
|
|
dest: /etc/apt/apt.conf.d/20auto-upgrades
|
|
mode: 0644
|