Fixed unattended upgrades and configure time for updates/upgrades
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.
This commit is contained in:
parent
d5a9e6bd05
commit
075823ffb5
5 changed files with 64 additions and 2 deletions
11
handlers/main.yml
Normal file
11
handlers/main.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue