diff --git a/playbooks/cron.yml b/playbooks/cron.yml index ff00f6f..354c619 100644 --- a/playbooks/cron.yml +++ b/playbooks/cron.yml @@ -15,4 +15,10 @@ lineinfile: path: /etc/crontab line: '@reboot root /usr/sbin/sysctl -p' + 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 \ No newline at end of file