summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2017-03-21 12:27:35 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-03-21 12:27:47 +0100
commit96d01438c1bafa60754e69bf7ee52d2813c9c3f1 (patch)
treee537331ba97b3d60774a20c4c41820fddd3f8ec1 /roles/openshift_node_upgrade
parentb47708f36d0e45688d4444ca22f6a62d0c5de2a6 (diff)
downloadopenshift-96d01438c1bafa60754e69bf7ee52d2813c9c3f1.tar.gz
openshift-96d01438c1bafa60754e69bf7ee52d2813c9c3f1.tar.bz2
openshift-96d01438c1bafa60754e69bf7ee52d2813c9c3f1.tar.xz
openshift-96d01438c1bafa60754e69bf7ee52d2813c9c3f1.zip
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>
Diffstat (limited to 'roles/openshift_node_upgrade')
-rw-r--r--roles/openshift_node_upgrade/tasks/main.yml6
1 files changed, 5 insertions, 1 deletions
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