summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks/main.yml
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 /roles/openshift_master/tasks/main.yml
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 'roles/openshift_master/tasks/main.yml')
-rw-r--r--roles/openshift_master/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 75401a6ce..7e71591d8 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -144,6 +144,9 @@
local_facts:
no_proxy_etcd_host_ips: "{{ openshift_no_proxy_etcd_host_ips }}"
+- name: Remove the legacy master service if it exists
+ include: clean_systemd_units.yml
+
- name: Install the systemd units
include: systemd_units.yml