machine_setup/ansible/roles/firewall/handlers/main.yaml

17 lines
260 B
YAML
Raw Normal View History

- name: restart pf
when: is_pf_running.rc == 0
service:
name: pf
state: reloaded
2022-10-13 02:11:39 +00:00
- name: restart pflog
when: is_pf_running.rc == 0
service:
name: pflog
state: restarted
- name: stop pflog
service:
name: pflog
state: stopped