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
This commit is contained in:
Monty Taylor 2018-08-16 16:29:02 -05:00
parent 40c6e6d7ad
commit 4b7252ce8b
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

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