# 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