aboutsummaryrefslogtreecommitdiffstats
path: root/roles/security/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/security/tasks')
-rw-r--r--roles/security/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/security/tasks/main.yml b/roles/security/tasks/main.yml
index 0a7ef0f..08780a5 100644
--- a/roles/security/tasks/main.yml
+++ b/roles/security/tasks/main.yml
@@ -4,6 +4,7 @@
src: pf.conf.j2
dest: /etc/pf.conf
validate: "pfctl -nf %s"
+ notify: reload-pf
- name: firewall - enable PF
command: rcenable pf
@@ -18,6 +19,7 @@
block: |
# Block SSH auth failures using "sshlockout" and "pf"
auth.info;authpriv.info |exec /usr/sbin/sshlockout -pf bruteforce
+ notify: restart-syslogd
- name: periodic - copy clean-pf script
copy: