aboutsummaryrefslogtreecommitdiffstats
path: root/roles/pf/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-30 15:39:08 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-30 15:50:40 +0000
commit6b106cce38106e7beb9db623a9d98784cb8bbc86 (patch)
treea7ec7381526c44dd778ab3a911e55b654c1746eb /roles/pf/templates
parentd39f2e2ac88b107014c373b380eb76adae0f91ee (diff)
downloadrules-6b106cce38106e7beb9db623a9d98784cb8bbc86.tar.gz
ansible_port: Add ssh port switch to network roles
Diffstat (limited to 'roles/pf/templates')
-rw-r--r--roles/pf/templates/pf.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/pf/templates/pf.conf.j2 b/roles/pf/templates/pf.conf.j2
index 6bc936a..1b51fe7 100644
--- a/roles/pf/templates/pf.conf.j2
+++ b/roles/pf/templates/pf.conf.j2
@@ -8,7 +8,7 @@ set skip on { lo wg0 }
block all
# force ssh if not present below
-pass in quick on egress proto tcp to port 22
+pass in quick on egress proto tcp to port {{ ansible_port }}
# host services
{% for service in __services %}
remember that computers suck.