6 lines
174 B
YAML
Raw Normal View History

- name: Enable crontab logging
ansible.builtin.lineinfile:
path: /etc/rsyslog.d/50-default.conf
regexp: '^#cron\.\*.*'
2021-06-10 11:44:45 +02:00
line: "cron.*\t\t\t\t./var/log/cron.log"