Browse Source

Merge pull request #4322 from ashcrow/1455843

Merged by openshift-bot
OpenShift Bot 7 years ago
parent
commit
75bec5d3dd
1 changed files with 8 additions and 0 deletions
  1. 8 0
      roles/openshift_node_upgrade/tasks/restart.yml

+ 8 - 0
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 }}"