d
All checks were successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful

This commit is contained in:
Michael Grote 2024-08-19 23:32:58 +02:00
parent 6b355e6790
commit 115d364d36
3 changed files with 0 additions and 24 deletions

View file

@ -27,10 +27,6 @@ munin_cron_job: present
munin_dbdir: "/var/lib/munin" munin_dbdir: "/var/lib/munin"
munin_enable_alerts: false munin_enable_alerts: false
munin_mail_server: mail.server.com
munin_mail_port: 25
munin_mail_tls: false
munin_alerts_to: nobody@nowhere.com
munin_mode: cgi # or cron munin_mode: cgi # or cron

View file

@ -75,12 +75,4 @@
owner: munin owner: munin
group: munin group: munin
when: not placeholder.stat.exists when: not placeholder.stat.exists
- name: Template ssmtp config
ansible.builtin.template:
src: ssmtp.conf
dest: /etc/ssmtp/ssmtp.conf
mode: '0644'
owner: root
group: root
... ...

View file

@ -1,12 +0,0 @@
# The user that gets all the mails (UID < 1000, usually the admin)
root={{ munin_alerts_to }}
# The mail server (where the mail is sent to), both port 465 or 587 should be acceptable
# See also https://support.google.com/mail/answer/78799
mailhub={{ munin_mail_server }}:{{ munin_mail_port }}
# The full hostname. Must be correctly formed, fully qualified domain name or GMail will reject connection.
hostname={{ munin_servername }}
# Use implicit TLS (port 465). When using port 587, change UseSTARTTLS=Yes
UseTLS={{ munin_mail_tls }}