aboutsummaryrefslogblamecommitdiffstats
path: root/roles/pf/tasks/main.yml
blob: c47a7211d8f2d095dc9c3ab6a017dddf11a1a4a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                      
                                 



                             
                             



                                    

# 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
remember that computers suck.