Install unattended-upgrades before changing the corresponding config
This commit is contained in:
parent
7eb8fa62d1
commit
aa990c388b
1 changed files with 5 additions and 0 deletions
|
@ -136,6 +136,11 @@
|
|||
|
||||
# Activate unattended upgrades
|
||||
|
||||
- name: Install unattended-upgrades
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- unattended-upgrades
|
||||
|
||||
- name: Update all packages unattended
|
||||
ansible.builtin.replace:
|
||||
path: /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
|
Loading…
Add table
Reference in a new issue