aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/security/handlers/main.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/security/handlers/main.yml b/roles/security/handlers/main.yml
index d4926b7..6306534 100644
--- a/roles/security/handlers/main.yml
+++ b/roles/security/handlers/main.yml
@@ -1,6 +1,10 @@
---
- name: restart-syslogd
- command: rcrestart syslogd
+ service:
+ name: syslogd
+ state: restarted
- name: reload-pf
- command: rcreload pf
+ service:
+ name: pf
+ state: reloaded