소스 검색

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

Resume restarting node after upgrading node rpms.
Scott Dodson 8 년 전
부모
커밋
bef26dc942
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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"