diff options
Diffstat (limited to 'group_vars')
-rw-r--r-- | group_vars/all.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/group_vars/all.yml b/group_vars/all.yml index 63697e8..fc3b760 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -13,7 +13,12 @@ acme_domain_name: "{{ __global_domain_name }}" nfsclient_server: stack0 httpd_use_nfs: true relayd_rules: "{{ __services }}" -pf_rules: "{{ __services }}" +pf_rules: "[ + {% for rule in __services if + 'port' in rule and 'protocol' in rule and 'name' in rule %} + {{ {'name': rule.name, 'port': rule.port, 'protocol': rule.protocol} }}, + {% endfor %} + ]" acme_rules: "{{ __services }}" # playbook specific |