Use Domain as default relay source
This commit is contained in:
parent
f32891c328
commit
3c419fd21f
1 changed files with 4 additions and 2 deletions
|
@ -6,8 +6,10 @@
|
||||||
{% if domain.comment is defined %}
|
{% if domain.comment is defined %}
|
||||||
# {{ domain.comment }}
|
# {{ domain.comment }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if domain.relay_host is defined %}
|
{% if domain.relay is defined %}
|
||||||
{{ "%-50s %s" | format(domain.name, domain.relay_host) }}
|
{% for relay in domain.relay %}
|
||||||
|
{{ "%-60s %s" | format(relay.src | default( domain.name ), relay.dest) }}
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue