aboutsummaryrefslogtreecommitdiffstats
path: root/roles/common/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/handlers/main.yml')
-rw-r--r--roles/common/handlers/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml
new file mode 100644
index 0000000..3ca3bcf
--- /dev/null
+++ b/roles/common/handlers/main.yml
@@ -0,0 +1,11 @@
+---
+# Defines handlers applicable across all machines in the infrastructure.
+
+- name: restart ntp
+ service: name=ntp state=restarted
+
+- name: restart fail2ban
+ service: name=fail2ban state=restarted
+
+- name: restart ssh
+ service: name=ssh state=restarted