added port customization for mail delivery
This commit is contained in:
parent
2751491a4a
commit
96e8c55e96
|
@ -8,6 +8,7 @@
|
||||||
download: False # prior download
|
download: False # prior download
|
||||||
notification_recipient: tamas@gerczei.eu
|
notification_recipient: tamas@gerczei.eu
|
||||||
smarthost: mail
|
smarthost: mail
|
||||||
|
smarthost_port: 25
|
||||||
tftp_dir: /data/tftproot
|
tftp_dir: /data/tftproot
|
||||||
image_dir: "{{ tftp_dir }}/smartos"
|
image_dir: "{{ tftp_dir }}/smartos"
|
||||||
tftp_user: nobody
|
tftp_user: nobody
|
||||||
|
@ -70,6 +71,7 @@
|
||||||
- name: send e-mail notification
|
- name: send e-mail notification
|
||||||
mail:
|
mail:
|
||||||
host: "{{ smarthost }}"
|
host: "{{ smarthost }}"
|
||||||
|
port: "{{ smarthost_port }}"
|
||||||
from: "Raspi Root <noreply@fejezd.be>"
|
from: "Raspi Root <noreply@fejezd.be>"
|
||||||
to: "{{ notification_recipient }}"
|
to: "{{ notification_recipient }}"
|
||||||
subject: "SmartOS update ({{ last_release }}) available"
|
subject: "SmartOS update ({{ last_release }}) available"
|
||||||
|
|
Loading…
Reference in New Issue