Add cron.absent to remove old cron job if present

This commit is contained in:
Masaya-A
2021-01-25 15:45:33 +09:00
committed by GitHub
parent 59a4b148bc
commit 995d618ff5

View File

@@ -168,6 +168,15 @@ disable_so-suricata_so-status.conf:
- regex: ^so-suricata$
{% endif %}
/usr/local/bin/surirotate:
cron.absent:
- user: root
- minute: '11'
- hour: '*'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% else %}
{{sls}}_state_not_allowed: