summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-06-01 18:01:15 -0500
committerGitHub <noreply@github.com>2017-06-01 18:01:15 -0500
commit75bec5d3dd7cf81ea4f9fd72e593d61747f1608a (patch)
treeebefe56e8dd94ddf8d3b303c722535fdcdc57ca1 /roles
parent76e4105b6e52cd1f510460d204d37f2b60a790b6 (diff)
parentbc1d278e38dc67b5533d444387f84e3167d82773 (diff)
downloadopenshift-75bec5d3dd7cf81ea4f9fd72e593d61747f1608a.tar.gz
openshift-75bec5d3dd7cf81ea4f9fd72e593d61747f1608a.tar.bz2
openshift-75bec5d3dd7cf81ea4f9fd72e593d61747f1608a.tar.xz
openshift-75bec5d3dd7cf81ea4f9fd72e593d61747f1608a.zip
Merge pull request #4322 from ashcrow/1455843
Merged by openshift-bot
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node_upgrade/tasks/restart.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/tasks/restart.yml b/roles/openshift_node_upgrade/tasks/restart.yml
index e576228ba..508eb9358 100644
--- a/roles/openshift_node_upgrade/tasks/restart.yml
+++ b/roles/openshift_node_upgrade/tasks/restart.yml
@@ -5,6 +5,14 @@
# - openshift.common.hostname
# - openshift.master.api_port
+# NOTE: This is needed to make sure we are using the correct set
+# of systemd unit files. The RPMs lay down defaults but
+# the install/upgrade may override them in /etc/systemd/system/.
+# NOTE: We don't use the systemd module as some versions of the module
+# require a service to be part of the call.
+- name: Reload systemd to ensure latest unit files
+ command: systemctl daemon-reload
+
- name: Restart docker
service:
name: "{{ openshift.docker.service_name }}"