Packer.Images/ansible/roles/os/tasks/logging.yml

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 09:44:45 +00:00
line: "cron.*\t\t\t\t./var/log/cron.log"