9 lines
209 B
YAML
9 lines
209 B
YAML
|
---
|
||
|
- name: Enable logging for cron
|
||
|
lineinfile:
|
||
|
path: /etc/rsyslog.conf
|
||
|
regexp: "^cron.* /var/log/cron.log"
|
||
|
insertafter: "^#cron.*"
|
||
|
line: "cron.* /var/log/cron.log"
|
||
|
notify: Restart rsyslog
|