diff options
Diffstat (limited to 'roles/pf')
-rw-r--r-- | roles/pf/defaults/main.yml | 2 | ||||
-rw-r--r-- | roles/pf/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/pf/tasks/main.yml | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/roles/pf/defaults/main.yml b/roles/pf/defaults/main.yml index 777717d..0523589 100644 --- a/roles/pf/defaults/main.yml +++ b/roles/pf/defaults/main.yml @@ -1 +1,3 @@ +--- + pf_configuration_file: /etc/pf.conf diff --git a/roles/pf/handlers/main.yml b/roles/pf/handlers/main.yml index 8e49812..85a0996 100644 --- a/roles/pf/handlers/main.yml +++ b/roles/pf/handlers/main.yml @@ -1,3 +1,5 @@ +--- + - name: lint pf configuration ansible.builtin.command: "pfctl -nf {{ pf_configuration_file }}" diff --git a/roles/pf/tasks/main.yml b/roles/pf/tasks/main.yml index eb6f078..fcbac06 100644 --- a/roles/pf/tasks/main.yml +++ b/roles/pf/tasks/main.yml @@ -1,3 +1,5 @@ +--- + - name: generate pf configuration ansible.builtin.template: src: pf.conf.j2 |