ansible-roles/evolinux-base/templates/log2mail/evolinux-defaults.j2
Alexis Ben Miloud--Josselin 70c2d25837
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2668|4|2664|5|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/435//ansiblelint">Evolix » ansible-roles » unstable #435</a>
gitea/ansible-roles/pipeline/head This commit looks good
evolinux-base: Check for syntax error in cron.log
2023-12-18 18:05:36 +01: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