added port customization for mail delivery

This commit is contained in:
Tamás Gérczei 2018-07-09 14:34:56 +02:00
parent 2751491a4a
commit 96e8c55e96
Signed by: tgerczei
GPG Key ID: 9E1246D452248DCE
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
download: False # prior download
notification_recipient: tamas@gerczei.eu
smarthost: mail
smarthost_port: 25
tftp_dir: /data/tftproot
image_dir: "{{ tftp_dir }}/smartos"
tftp_user: nobody
@ -70,6 +71,7 @@
- name: send e-mail notification
mail:
host: "{{ smarthost }}"
port: "{{ smarthost_port }}"
from: "Raspi Root <noreply@fejezd.be>"
to: "{{ notification_recipient }}"
subject: "SmartOS update ({{ last_release }}) available"