From 4b7252ce8bbdef094c02a3e71e2cad129f1ebc58 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 16 Aug 2018 16:29:02 -0500 Subject: [PATCH] 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 --- playbooks/group_vars/storyboard.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/group_vars/storyboard.yaml b/playbooks/group_vars/storyboard.yaml index 4733058078..c6210a6f1c 100644 --- a/playbooks/group_vars/storyboard.yaml +++ b/playbooks/group_vars/storyboard.yaml @@ -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 = <; \