From 96d01438c1bafa60754e69bf7ee52d2813c9c3f1 Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <gscrivan@redhat.com>
Date: Tue, 21 Mar 2017 12:27:35 +0100
Subject: upgrade: restart ovs-vswitchd and ovsdb-server

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1420636

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
---
 roles/openshift_node_upgrade/tasks/main.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'roles')

diff --git a/roles/openshift_node_upgrade/tasks/main.yml b/roles/openshift_node_upgrade/tasks/main.yml
index 2f79931df..2467dc971 100644
--- a/roles/openshift_node_upgrade/tasks/main.yml
+++ b/roles/openshift_node_upgrade/tasks/main.yml
@@ -60,8 +60,12 @@
 
 - name: Restart openvswitch
   systemd:
-    name: openvswitch
+    name: "{{ item }}"
     state: restarted
+  with_items:
+  - ovs-vswitchd
+  - ovsdb-server
+  - openvswitch
   when:
   - not openshift.common.is_containerized | bool
   - ovs_pkg | changed
-- 
cgit v1.2.3