Previously only unattended updates (i.e. apt update) was working. Unattended upgrades (i.e. apt upgrade) are disabled by default and needed to be enabled with a config file.
11 lines
275 B
YAML
11 lines
275 B
YAML
- name: restart apt-daily.timer
|
|
ansible.builtin.systemd:
|
|
name: apt-daily.timer
|
|
daemon_reload: yes
|
|
state: restarted
|
|
|
|
- name: restart apt-daily-upgrade.timer
|
|
ansible.builtin.systemd:
|
|
name: apt-daily-upgrade.timer
|
|
daemon_reload: yes
|
|
state: restarted
|