Fix crontab errors on CentOS/SUSE
CentOS comes with a default empty crontab file that is fine for most deployers. It also lacks the `--report` option for `run-parts` that Ubuntu has. SUSE doesn't have run-parts at all. This causes the server administrator to receive emails with errors from cron on a regular basis. This patch limits the crontab deployment to Ubuntu only and skips CentOS/SUSE hosts. Closes-Bug: 1732762 Change-Id: Iba714e1e20e1a27b1a5bb58a714dee3916faba8f
This commit is contained in:
parent
5944ed8f11
commit
c4d12eba1b
@ -20,3 +20,5 @@
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0644"
|
||||
when:
|
||||
- ansible_os_family == 'Debian'
|
||||
|
Loading…
x
Reference in New Issue
Block a user