Add sudo to update commands.
This commit is contained in:
parent
17097ff91f
commit
f068c12cd7
@ -19,7 +19,7 @@
|
|||||||
cron:
|
cron:
|
||||||
user: ansible
|
user: ansible
|
||||||
name: Daily Security Update
|
name: Daily Security Update
|
||||||
job: apt update && apt dist-upgrade -y
|
job: sudo apt update && sudo apt dist-upgrade -y
|
||||||
special_time: reboot
|
special_time: reboot
|
||||||
state: present
|
state: present
|
||||||
disabled: no
|
disabled: no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user