[nullmailer] Do not guess mail host

certbot_on_virtu
Alexandre Iooss 2020-02-01 17:40:11 +01:00
parent c8c454e076
commit 16e9f86c2d
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,7 @@
vars:
mail_root: root@crans.org
mail_snmp_server: smtp.adm.crans.org
mail_defaulthost: crans.org
roles:
- nullmailer

View File

@ -16,3 +16,9 @@
copy:
content: "{{ mail_root }}"
dest: /etc/nullmailer/adminaddr
- name: Set nullmailer defaulthost
copy:
content: "{{ mail_defaulthost }}"
dest: /etc/nullmailer/defaulthost