diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2023-01-09 22:39:47 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-04-02 11:45:09 +0200 |
commit | 1ff0fc1803fc71d925a0f2d0cf9c27058914044a (patch) | |
tree | aff689ecd6397f2cf6ae9a4800b5f02b514afe17 /roles/pf/templates | |
parent | d1924d9c361470556dd1a935137a79bc0df8b099 (diff) | |
download | rules-1ff0fc1803fc71d925a0f2d0cf9c27058914044a.tar.gz |
feat(roles/pf): add argument specs
Diffstat (limited to 'roles/pf/templates')
-rw-r--r-- | roles/pf/templates/pf.conf.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/pf/templates/pf.conf.j2 b/roles/pf/templates/pf.conf.j2 index e60b4a6..193c9d2 100644 --- a/roles/pf/templates/pf.conf.j2 +++ b/roles/pf/templates/pf.conf.j2 @@ -11,9 +11,9 @@ block all pass in quick on egress proto tcp to port {{ ansible_port }} # host services -{% for name, rules in pf_rules.items() %} -# {{ name }} -pass in quick on egress proto {{ rules.protocol }} to port {{ rules.port }} +{% for rule in pf_rules %} +# {{ rule.name }} +pass in quick on egress proto {{ rule.protocol }} to port {{ rule.port }} {% endfor %} # wireguard |