From 1ff0fc1803fc71d925a0f2d0cf9c27058914044a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 9 Jan 2023 22:39:47 +0100 Subject: feat(roles/pf): add argument specs --- roles/pf/handlers/main.yml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 roles/pf/handlers/main.yml (limited to 'roles/pf/handlers') 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 }}" -- cgit v1.2.3