diff options
author | binary <me@rgoncalves.se> | 2020-11-21 16:24:08 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-21 16:24:08 +0100 |
commit | b39a9432929c19eb11562c3687eac7c65c75180b (patch) | |
tree | a38c80cc02a593250c04af573c40c081524c2839 | |
parent | 09abcacff6eeb1f809c6b53e753847e32c3ee0b1 (diff) | |
download | infrastructure-b39a9432929c19eb11562c3687eac7c65c75180b.tar.gz |
Fix typo.
-rw-r--r-- | roles/pf/templates/pf.conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
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 %} {##} |