Update playbooks/cron.yml
This commit is contained in:
@@ -16,3 +16,9 @@
|
|||||||
path: /etc/crontab
|
path: /etc/crontab
|
||||||
line: '@reboot root /usr/sbin/sysctl -p'
|
line: '@reboot root /usr/sbin/sysctl -p'
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: create crontab entry running the SSL check script 2AM daily
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/crontab
|
||||||
|
line: '0 2 * * * root /root/ssl_check.sh'
|
||||||
|
state: present
|
||||||
Reference in New Issue
Block a user