diff --git a/smartos-updater.yml b/smartos-updater.yml index 918dd10..2b67b5b 100644 --- a/smartos-updater.yml +++ b/smartos-updater.yml @@ -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 " to: "{{ notification_recipient }}"