- name: Enable crontab logging ansible.builtin.lineinfile: path: /etc/rsyslog.d/50-default.conf regexp: '^#cron\.\*.*' line: "cron.*\t\t\t\t./var/log/cron.log"