ansible-infra/roles/common/templates/opensmtpd/smtpd-secret.j2

3 lines
136 B
Django/Jinja

{% for account in smtp_accounts %}
{{ account.name }} {{ account.username | default(account.from) }}:{{ account.password }}
{% endfor %}