externalized smarthost user, defaulting to notification recipient

这个提交包含在:
Tamás Gérczei 2020-08-21 08:42:09 +02:00
父节点 e06363cee9
当前提交 abefb8f662
签署人:: tgerczei
GPG 密钥 ID: 5B59A7760597B1A1
共有 1 个文件被更改,包括 6 次插入7 次删除

查看文件

@ -10,14 +10,13 @@
smarthost: mail
smarthost_port: 25
tftp_dir: /data/tftproot
smarthost_user: "{{ notification_recipient }}"
smarthost_pw: !vault |
$ANSIBLE_VAULT;1.1;AES256
34613034663131326532666239633964353161363662323531623161383262303630616163346662
3436633337346164383335333437303131313662633936310a376230613533393963633661333263
35366530333134633661643662646638663438643466333362323235653034643636663434396363
6562393836613165320a303436343535303362366335383132346636323037623634636161316437
6564
39376465636636336265393730313534663564373462616231623166656437643862333864386231
6164323864383232643035323166663064633233646337370a613237353538636364346630323633
37313538363837323662333635616563363333336363386631383565653934333763626133663339
3561366536666639300a393537323937633435356639303736653764653962663665363034373031
36633338653533383164386363363439316263306234656432643931663037326634
image_dir: "{{ tftp_dir }}/smartos"
tftp_user: nobody
tftp_group: nogroup
@ -80,7 +79,7 @@
host: "{{ smarthost }}"
port: "{{ smarthost_port }}"
secure: starttls
username: "{{ smarthost_user }}"
username: "{{ smarthost_user | default(notification_recipient) }}"
password: "{{ smarthost_pw }}"
from: "Ansible <noreply@fejezd.be>"
to: "{{ notification_recipient }}"