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








                                       

                





                                          
- name: generate pf configuration
  template:
    src: pf.conf.j2
    dest: "{{ pf_configuration_file }}"
    owner: 0
    group: 0
    mode: 0600
  notify:
    - lint pf configuration
    - enable pf
    - restart pf

- name: test ssh connection on new pf rule
  wait_for:
    port: 22
    delay: 2
    state: started
remember that computers suck.