1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# pf ~~ tasks/main.yml --- - name: Generate pf configuration template: src: templates/pf.conf.j2 dest: /etc/pf.conf owner: root group: "{{ group_root }}" mode: "0600" - name: Restart pf shell: /sbin/pfctl -f /etc/pf.conf