Fix vars and pass also password

This commit is contained in:
Luke Murphy 2020-03-27 18:42:41 +01:00
parent 17ece2d1b5
commit e5527cd3e0
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 3 additions and 2 deletions

View File

@ -106,6 +106,7 @@
SMTP_HOST: "{{ smtp_host }}"
SMTP_TLS_ENABLED: "{{ smtp_tls_enabled }}"
SMTP_USER: "{{ smtp_user }}"
SMTP_PASSWD: "{{ smtp_passwd }}"
SSH_DOMAIN: "{{ ssh_domain }}"
SSH_LISTEN_PORT: "{{ ssh_listen_port }}"
SSH_PORT: "{{ ssh_port }}"

View File

@ -84,8 +84,8 @@ setup_app_ini() {
crudini --set "$app_ini" mailer ENABLED "${MAILER_ENABLED}"
crudini --set "$app_ini" mailer FROM "${SMTP_FROM}"
crudini --set "$app_ini" mailer HOST "${SMTP_HOST}"
crudini --set "$app_ini" mailer USER "${USER}"
crudini --set "$app_ini" mailer PASSWD "${PASSWD}"
crudini --set "$app_ini" mailer USER "${SMTP_USER}"
crudini --set "$app_ini" mailer PASSWD "${SMTP_PASSWD}"
}
main() {