git.samba.org
/
autocluster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Ansible playbook for node configuration
[autocluster.git]
/
ansible
/
node
/
roles
/
common
/
handlers
/
main.yml
diff --git a/ansible/node/roles/common/handlers/main.yml
b/ansible/node/roles/common/handlers/main.yml
new file mode 100644
(file)
index 0000000..
1b033cb
--- /dev/null
+++ b/
ansible/node/roles/common/handlers/main.yml
@@ -0,0
+1,12
@@
+---
+# Including handlers and conditional handlers seem broken :-(
+
+- name: restart NTP server redhat
+ service:
+ name: chronyd
+ state: restarted
+
+- name: restart rsyslog
+ service:
+ name: rsyslog
+ state: restarted