aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/pf/templates/pf.conf.j24
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 %}
{##}
remember that computers suck.