Add raw blocks to storyboard exim routers

The exim config chunk has a {{ in it, which makes the ansible jinja
very cranky. Add in a raw block so it doesn't try to understand the
exim.

Change-Id: If49d976e503b6ebe236a2d2c6077cce96783e102
changes/39/592739/1
Monty Taylor 5 years ago
parent 40c6e6d7ad
commit 4b7252ce8b
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

@ -5,8 +5,10 @@ exim_routers:
- storyboard_verp_router: |
driver = dnslookup
# we only consider messages sent in through loopback
{% raw -%}
condition = ${if or{{eq{$sender_host_address}{127.0.0.1}}\
{eq{$sender_host_address}{::1}}}{yes}{no}}
{% endraw %}
# we do not do this for traffic going to the local machine
domains = '!+local_domains'
ignore_target_hosts = <; \

Loading…
Cancel
Save