1
0
Fork 0

Add cron to update pihole

This commit is contained in:
Andrew Tomaka 2023-02-23 20:57:46 -05:00
parent 4921c932d6
commit f82cca1ece
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 10 additions and 0 deletions

View file

@ -52,6 +52,14 @@
cmd: /tmp/basic-install.sh --unattended
creates: /usr/local/bin/pihole
- name: Schedule upgrade
cron:
name: schedule upgrade
weekday: "{{ update_weekday }}"
hour: 3
minute: 0
job: /usr/local/bin/pihole -up
- name: Create gravity directory
file:
path: /etc/gravity-sync