16 lines
522 B
YAML
16 lines
522 B
YAML
- name: "unattended_upgrades : install unattended-upgrades"
|
|
ansible.builtin.apt:
|
|
name: "unattended-upgrades"
|
|
|
|
- name: "unattended_upgrades : configure unattended-upgrades"
|
|
ansible.builtin.copy:
|
|
src: "./unattended_upgrades/50unattended-upgrades"
|
|
dest: "/etc/apt/apt.conf.d/50unattended-upgrades"
|
|
mode: 0644
|
|
|
|
- name: "unattended_upgrades : enable unattended-upgrades"
|
|
ansible.builtin.copy:
|
|
src: "./unattended_upgrades/20auto-upgrades"
|
|
dest: "/etc/apt/apt.conf.d/20auto-upgrades"
|
|
mode: 0644
|