summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-10-14 11:36:23 -0400
committerGitHub <noreply@github.com>2016-10-14 11:36:23 -0400
commitbef26dc9429b3c450c572850544d4e10e3e9ad2c (patch)
treee1e5480bcb5a32ff4114da910507528da14608e7 /playbooks/common
parent845eed3081b5fd6a3ca0f6b8ede0acaee19f6049 (diff)
parent3ad93e3d8552c7365eced1042a6e2852428ca049 (diff)
downloadopenshift-bef26dc9429b3c450c572850544d4e10e3e9ad2c.tar.gz
openshift-bef26dc9429b3c450c572850544d4e10e3e9ad2c.tar.bz2
openshift-bef26dc9429b3c450c572850544d4e10e3e9ad2c.tar.xz
openshift-bef26dc9429b3c450c572850544d4e10e3e9ad2c.zip
Merge pull request #2604 from dgoodwin/restart-nodes-again
Resume restarting node after upgrading node rpms.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
index af77f140f..cd1139b29 100644
--- a/playbooks/common/openshift-cluster/upgrades/rpm_upgrade.yml
+++ b/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"