mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
17 lines
584 B
Django/Jinja
17 lines
584 B
Django/Jinja
"smtpServer": {
|
|
{% set email = lookup('email', application_id) %}
|
|
{% if email.enabled | bool %}
|
|
"password": "{{ email.password }}",
|
|
"replyToDisplayName": "",
|
|
"starttls": "{{ email.start_tls | lower }}",
|
|
"auth": "true",
|
|
"port": "{{ email.port }}",
|
|
"replyTo": "",
|
|
"host": "{{ email.host }}",
|
|
"from": "{{ email['from'] }}",
|
|
"fromDisplayName": "Authentication System ({{ DOMAIN_PRIMARY | lower }})",
|
|
"envelopeFrom": "",
|
|
"ssl": "{{ (email.tls and not email.start_tls) | bool | string | lower }}",
|
|
"user": "{{ email.username }}"
|
|
{% endif %}
|
|
} |