From db698b595e7ff088c96d00ef5285a0d634aff1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 12 Dec 2022 22:15:01 +0100 Subject: refactor: pass ansible-lint with yaml header --- roles/pf/defaults/main.yml | 2 ++ roles/pf/handlers/main.yml | 2 ++ roles/pf/tasks/main.yml | 2 ++ 3 files changed, 6 insertions(+) (limited to 'roles/pf') 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 -- cgit v1.2.3