summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-01-29 16:02:50 -0500
committerScott Dodson <sdodson@redhat.com>2018-01-29 16:21:19 -0500
commitd88559b6133aa22397f010615587031c66ab873a (patch)
tree679d50f9a001c9652eefec9cf9c9486f3d72942d /playbooks
parent2ec70a36f50f670887f2f257d348db6332de5d26 (diff)
downloadopenshift-d88559b6133aa22397f010615587031c66ab873a.tar.gz
openshift-d88559b6133aa22397f010615587031c66ab873a.tar.bz2
openshift-d88559b6133aa22397f010615587031c66ab873a.tar.xz
openshift-d88559b6133aa22397f010615587031c66ab873a.zip
Don't deploy the console if disabled or registry subtype
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1538974
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/init/basic_facts.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/init/basic_facts.yml b/playbooks/init/basic_facts.yml
index 06a4e7291..a9bf06693 100644
--- a/playbooks/init/basic_facts.yml
+++ b/playbooks/init/basic_facts.yml
@@ -67,3 +67,11 @@
first_master_client_binary: "{{ openshift_client_binary }}"
#Some roles may require this to be set for first master
openshift_client_binary: "{{ openshift_client_binary }}"
+
+- name: Disable web console if required
+ hosts: oo_masters_to_config
+ gather_facts: no
+ tasks:
+ - set_fact:
+ openshift_web_console_install: False
+ when: openshift_deployment_subtype == 'registry' or ( osm_disabled_features is defined and 'WebConsole' in osm_disabled_features )