summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorClayton Coleman <ccoleman@redhat.com>2017-08-07 23:07:34 -0400
committerClayton Coleman <ccoleman@redhat.com>2017-08-08 12:50:22 -0400
commit263035e6bec5bf24ba211906c8d6d26873672413 (patch)
tree27ad51e36dfd198c4ed7d90835205ca50ecf53e3 /playbooks/common/openshift-cluster
parent0d633e97991aecd9559334ba8fe6a59267efa871 (diff)
downloadopenshift-263035e6bec5bf24ba211906c8d6d26873672413.tar.gz
openshift-263035e6bec5bf24ba211906c8d6d26873672413.tar.bz2
openshift-263035e6bec5bf24ba211906c8d6d26873672413.tar.xz
openshift-263035e6bec5bf24ba211906c8d6d26873672413.zip
Disable old openshift-master.service on upgrade
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
index 6a0471948..abcd21c90 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_control_plane.yml
@@ -91,6 +91,9 @@
- include_vars: ../../../../roles/openshift_master/vars/main.yml
+ - name: Remove any legacy systemd units
+ include: ../../../../roles/openshift_master/tasks/clean_systemd_units.yml
+
- name: Update systemd units
include: ../../../../roles/openshift_master/tasks/systemd_units.yml