summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-02-10 10:58:03 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-02-10 10:58:03 -0500
commitb398b37e82e413f2eed88e272f615d396ab8904c (patch)
tree3c494ec423c0aaa42d1e5385589549131070c000
parent6f4aeb1039df339e8a4e1500920e078f09c944a3 (diff)
downloadopenshift-b398b37e82e413f2eed88e272f615d396ab8904c.tar.gz
openshift-b398b37e82e413f2eed88e272f615d396ab8904c.tar.bz2
openshift-b398b37e82e413f2eed88e272f615d396ab8904c.tar.xz
openshift-b398b37e82e413f2eed88e272f615d396ab8904c.zip
Don't mask master service on atomic.
-rw-r--r--roles/openshift_master/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 3f7701519..3613808b6 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -287,7 +287,7 @@
- name: Mask master service
command: systemctl mask {{ openshift.common.service_type }}-master
- when: openshift_master_ha | bool and openshift.master.cluster_method == 'native'
+ when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and not openshift.common.is_atomic | bool
- name: Start and enable master api
service: name={{ openshift.common.service_type }}-master-api enabled=yes state=started