commit 11d8c422dd8291c4d9159a957619d10ce60dc5cb
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Nov 9 10:23:11 2016 +0100
Update restart_services
handlers/restart_services.yml | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml
index 5df3fc1..96f1427 100644
--- a/handlers/restart_services.yml
+++ b/handlers/restart_services.yml
@@ -71,9 +71,6 @@
- name: fix openvpn routing
action: shell /etc/openvpn/fix-routes.sh
-- name: restart postfix
- action: service name=postfix state=restarted
-
- name: restart xinetd
action: service name=xinetd state=restarted
@@ -86,6 +83,12 @@
- name: rebuild postfix transport
command: /usr/sbin/postmap /etc/postfix/transport
+- name: rebuild postfix tls_policy
+ command: /usr/sbin/postmap /etc/postfix/tls_policy
+
+- name: restart postfix
+ service: name=postfix state=restarted
+
- name: restart glusterd
service: name=glusterd state=restarted
@@ -124,9 +127,13 @@
- name: restart stunnel
service: name=stunnel state=restarted
-- name: restart cinder
+- name: restart cinder api
service: name=openstack-cinder-api state=restarted
+
+- name: restart cinder scheduler
service: name=openstack-cinder-scheduler state=restarted
+
+- name: restart cinder volume
service: name=openstack-cinder-volume state=restarted
- name: restart autocloud
@@ -141,6 +148,9 @@
- name: reload NetworkManager-connections
command: nmcli c reload
+- name: restart basset-worker
+ service: name=basset-worker state=restarted
+
- name: apply interface-changes
command: nmcli con up {{ item.split()[1] }}
async: 1
Show replies by date