aboutsummaryrefslogtreecommitdiffstats
path: root/roles/pf/handlers
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-09 22:39:47 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commit1ff0fc1803fc71d925a0f2d0cf9c27058914044a (patch)
treeaff689ecd6397f2cf6ae9a4800b5f02b514afe17 /roles/pf/handlers
parentd1924d9c361470556dd1a935137a79bc0df8b099 (diff)
downloadrules-1ff0fc1803fc71d925a0f2d0cf9c27058914044a.tar.gz
feat(roles/pf): add argument specs
Diffstat (limited to 'roles/pf/handlers')
-rw-r--r--roles/pf/handlers/main.yml14
1 files changed, 0 insertions, 14 deletions
diff --git a/roles/pf/handlers/main.yml b/roles/pf/handlers/main.yml
deleted file mode 100644
index 2d518eb..0000000
--- a/roles/pf/handlers/main.yml
+++ /dev/null
@@ -1,14 +0,0 @@
----
-
-- name: lint pf configuration
- ansible.builtin.command: "pfctl -nf {{ pf_configuration_file }}"
-
-- name: enable pf
- ansible.builtin.command: pfctl -e
- register: pf_result_enable
- failed_when:
- - pf_result_enable.result.rc != 0
- - "'already enabled' not in pf_result_enabled.result.stderr"
-
-- name: restart pf
- ansible.builtin.command: pfctl -f "{{ pf_configuration_file }}"
remember that computers suck.