d
This commit is contained in:
parent
6b355e6790
commit
115d364d36
3 changed files with 0 additions and 24 deletions
|
@ -27,10 +27,6 @@ munin_cron_job: present
|
|||
munin_dbdir: "/var/lib/munin"
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -75,12 +75,4 @@
|
|||
owner: munin
|
||||
group: munin
|
||||
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
|
||||
...
|
||||
|
|
|
@ -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 }}
|
Loading…
Reference in a new issue