From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= <me@rgoncalves.se>
Date: Sat, 22 Oct 2022 16:41:45 +0200
Subject: lint: pass ansible-lint + yamllint

---
 roles/pf/handlers/main.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'roles/pf/handlers')

diff --git a/roles/pf/handlers/main.yml b/roles/pf/handlers/main.yml
index 5d75a1a..8e49812 100644
--- a/roles/pf/handlers/main.yml
+++ b/roles/pf/handlers/main.yml
@@ -1,12 +1,12 @@
 - name: lint pf configuration
-  command: "pfctl -nf {{ pf_configuration_file }}"
+  ansible.builtin.command: "pfctl -nf {{ pf_configuration_file }}"
 
 - name: enable pf
-  command: pfctl -e
+  ansible.builtin.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 }}"
+  ansible.builtin.command: pfctl -f "{{ pf_configuration_file }}"
-- 
cgit v1.2.3