浏览代码

Add booleans to prevent unwanted install of nuage roles.

Recently, some role dependencies were removed from meta
depends into playbooks.  Particularly, the nuage role
requires several roles.  Currently, only the nuage_master
role requires openshift_use_nuage to be true.

This commit requires the other nuage roles to reference
the variable openshift_use_nuage before install.
Michael Gugino 7 年之前
父节点
当前提交
6d322819ce
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      playbooks/common/openshift-master/config.yml

+ 2 - 0
playbooks/common/openshift-master/config.yml

@@ -219,7 +219,9 @@
     openshift_master_default_registry_value_api: "{{ hostvars[groups.oo_first_master.0].l_default_registry_value_api }}"
     openshift_master_default_registry_value_controllers: "{{ hostvars[groups.oo_first_master.0].l_default_registry_value_controllers }}"
   - role: nuage_ca
+    when: openshift_use_nuage | default(false) | bool
   - role: nuage_common
+    when: openshift_use_nuage | default(false) | bool
   - role: nuage_master
     when: openshift_use_nuage | default(false) | bool
   - role: calico_master