commit 7e6c64cbc888c5cfcad8dccfef259e717ef4b3cb parent 1565f996081bb009e8e96987c1d542bd01218e64 Author: Paco Esteban <paco@e1e0.net> Date: Mon, 6 Jan 2020 17:25:45 +0100 validate pf rules before copying to final dest Diffstat:
M | roles/pf/tasks/main.yml | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/roles/pf/tasks/main.yml b/roles/pf/tasks/main.yml @@ -3,6 +3,7 @@ template: src: templates/pf.conf.j2 dest: /etc/pf.conf + validate: pfctl -n -f %s owner: root group: wheel mode: 0640