Browse Source

Merge pull request #5509 from mgugino-upstream-stage/fix-nuage-install

Add booleans to prevent unwanted install of nuage roles.
Scott Dodson 7 years ago
parent
commit
6ece6ac67a
1 changed files with 2 additions and 0 deletions
  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_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 }}"
     openshift_master_default_registry_value_controllers: "{{ hostvars[groups.oo_first_master.0].l_default_registry_value_controllers }}"
   - role: nuage_ca
   - role: nuage_ca
+    when: openshift_use_nuage | default(false) | bool
   - role: nuage_common
   - role: nuage_common
+    when: openshift_use_nuage | default(false) | bool
   - role: nuage_master
   - role: nuage_master
     when: openshift_use_nuage | default(false) | bool
     when: openshift_use_nuage | default(false) | bool
   - role: calico_master
   - role: calico_master