alpine: configure unattended upgrades
This commit is contained in:
parent
6a9a4142ce
commit
393614aa79
3 changed files with 24 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
name:
|
||||
- git
|
||||
- iproute2
|
||||
- logrotate
|
||||
- nftables
|
||||
- procps
|
||||
- rsync
|
||||
|
@ -64,3 +65,15 @@
|
|||
name: qemu-guest-agent
|
||||
enabled: yes
|
||||
state: started
|
||||
|
||||
- name: Install automatic upgrade script
|
||||
copy:
|
||||
dest: /etc/periodic/weekly/
|
||||
src: unattended-upgrade
|
||||
mode: 0755
|
||||
|
||||
- name: Configure log rotation for automatic upgrades
|
||||
copy:
|
||||
dest: /etc/logrotate.d/unattended-upgrade
|
||||
src: unattended-upgrade.logrotate
|
||||
mode: 0644
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue