diff options
Diffstat (limited to 'roles/pf/handlers/main.yml')
-rw-r--r-- | roles/pf/handlers/main.yml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/roles/pf/handlers/main.yml b/roles/pf/handlers/main.yml deleted file mode 100644 index 5d75a1a..0000000 --- a/roles/pf/handlers/main.yml +++ /dev/null @@ -1,12 +0,0 @@ -- name: lint pf configuration - command: "pfctl -nf {{ pf_configuration_file }}" - -- name: enable pf - command: pfctl -e - register: result - failed_when: - - result.rc != 0 - - "'already enabled' not in result.stderr" - -- name: restart pf - command: pfctl -f "{{ pf_configuration_file }}" |