ansible-roles/log2mail/templates/evolinux-defaults.j2
William Hirigoyen f05a6aa25c
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2747|0|2747|0|:zzz:
gitea/ansible-roles/pipeline/head This commit looks good
log2mail: task log2mail.yml of evolinux-base converted to a role
2024-05-31 10:12:05 +02:00

17 lines
488 B
Django/Jinja

# {{ ansible_managed }}
file = /var/log/syslog
pattern = "Out of memory: Kill"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "memory read error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
file = /var/log/cron.log
pattern = "Syntax error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail