Switching to variables for debian update timers

This commit is contained in:
Tyler Hale 2022-08-22 14:14:56 -06:00
parent 53804e6cf1
commit 65c015112d
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
4 changed files with 21 additions and 5 deletions

View file

@ -29,7 +29,7 @@
lineinfile:
path: /etc/apt/apt.conf.d/50unattended-upgrades
regexp: '^\/?\/?Unattended-Upgrade::Automatic-Reboot-Time '
line: 'Unattended-Upgrade::Automatic-Reboot-Time "03:30";'
line: "Unattended-Upgrade::Automatic-Reboot-Time \"{{ base_debian_automatic_updates_reboot }}\";"
- name: Ensure directory exists for daily download timer
file: