got it running, added net, pf and jail roles
This commit is contained in:
15
roles/firewall/handlers/main.yaml
Normal file
15
roles/firewall/handlers/main.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: start pf
|
||||
service:
|
||||
name: pf
|
||||
state: started
|
||||
async: 45
|
||||
poll: 5
|
||||
|
||||
- name: start pflog
|
||||
service:
|
||||
name: pflog
|
||||
state: started
|
||||
|
||||
- name: reload pf
|
||||
shell: pfctl -nf /etc/pf.conf && pfctl -f /etc/pf.conf
|
||||
Reference in New Issue
Block a user