diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-12-12 22:15:01 +0100 |
commit | db698b595e7ff088c96d00ef5285a0d634aff1be (patch) | |
tree | 4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/pf | |
parent | ee3e324680a15d59429b1a2a0615fe787d169068 (diff) | |
download | rules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz |
refactor: pass ansible-lint with yaml header
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 |