commit 382e706f45e7bd44fbb0f872ef8208a0f050933f
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 31 14:44:08 2019 +0200
Update handlers
handlers/restart_services.yml | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml
index 89740cb..aab9633 100644
--- a/handlers/restart_services.yml
+++ b/handlers/restart_services.yml
@@ -2,6 +2,9 @@
# Handlers for restarting services
#
+- name: reload systemd
+ command: systemctl daemon-reload
+
- name: restart apache
command: /usr/local/bin/conditional-restart.sh httpd httpd
@@ -53,6 +56,9 @@
- name: restart ntpd
action: service name=ntpd state=restarted
+- name: restart sshd
+ action: service name=sshd state=restarted
+
- name: restart openvpn (Fedora)
when: ansible_distribution == "Fedora"
action: service name=openvpn-client@openvpn state=restarted
@@ -116,9 +122,6 @@
- name: restart memcached
service: name=memcached state=restarted
-- name: reload systemd
- command: systemctl daemon-reload
-
- name: restart nagios
shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios
@@ -181,3 +184,12 @@
- name: restart buildmaster
service: name=buildmaster state=restarted
+
+- name: restart rabbitmq
+ systemd:
+ name: rabbitmq-server
+ state: restarted
+ daemon_reload: yes
+
+- name: restart repoSpanner
+ action: service name=repoSpanner state=restarted
Show replies by date