Browse Source

Merge pull request #2604 from dgoodwin/restart-nodes-again

Resume restarting node after upgrading node rpms.
Scott Dodson 8 years ago
parent
commit
bef26dc942
1 changed files with 4 additions and 0 deletions
  1. 4 0
      playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml

+ 4 - 0
playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml

@@ -5,3 +5,7 @@
 - name: Ensure python-yaml present for config upgrade
   action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
   when: not openshift.common.is_atomic | bool
+
+- name: Restart node service
+  service: name="{{ openshift.common.service_type }}-node" state=restarted
+  when: component == "node"