Browse Source

Merge pull request #2429 from dgoodwin/openvswitch-restart-pause

Pause after restarting openvswitch in containerized upgrade.
Scott Dodson 8 years ago
parent
commit
eb18b3c3b8
1 changed files with 6 additions and 0 deletions
  1. 6 0
      roles/openshift_node/handlers/main.yml

+ 6 - 0
roles/openshift_node/handlers/main.yml

@@ -2,6 +2,12 @@
 - name: restart openvswitch
   service: name=openvswitch state=restarted
   when: not (ovs_service_status_changed | default(false) | bool)
+  notify:
+  - restart openvswitch pause
+
+- name: restart openvswitch pause
+  pause: seconds=15
+  when: openshift.common.is_containerized | bool
 
 - name: restart node
   service: name={{ openshift.common.service_type }}-node state=restarted