From b39a9432929c19eb11562c3687eac7c65c75180b Mon Sep 17 00:00:00 2001 From: binary Date: Sat, 21 Nov 2020 16:24:08 +0100 Subject: Fix typo. --- roles/pf/templates/pf.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/pf') diff --git a/roles/pf/templates/pf.conf.j2 b/roles/pf/templates/pf.conf.j2 index 73971af..0d2429f 100644 --- a/roles/pf/templates/pf.conf.j2 +++ b/roles/pf/templates/pf.conf.j2 @@ -19,8 +19,8 @@ pass in quick on egress proto {{ service["proto"] }} to port {{ service["port"] {% set h = hostvars[h] %} {##} {% if h.services is defined %} -{% for service in h.services if h.ansible_host != "dcontroller" and service.public is defined and service.public%} -pass in on egress proto { {{ service.proto }} } from any to any port {{ service.port }} rdr-to {{ h.ip.in }} +{% for service in h.services if h.ansible_host != global.dcontroller and service.public is defined and service.public %} +pass in on egress proto {{ service.proto }} from any to any port {{ service.port }} rdr-to {{ h.ip.in }} {% endfor %} {% endif %} {##} -- cgit v1.2.3