浏览代码

Don't deploy the console if disabled or registry subtype

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1538974
Scott Dodson 7 年之前
父节点
当前提交
d88559b613
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      playbooks/init/basic_facts.yml

+ 8 - 0
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 )