Преглед изворни кода

Fix registry modification for new deployment types.

New deployment types were missed when installing with additional docker
registries.
Devan Goodwin пре 9 година
родитељ
комит
072d4aacbe
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      roles/openshift_node/tasks/main.yml

+ 2 - 2
roles/openshift_node/tasks/main.yml

@@ -85,11 +85,11 @@
     docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries')
                                       | oo_split() | union(['registry.access.redhat.com'])
                                       | difference(['']) }}"
-  when: openshift.common.deployment_type == 'enterprise'
+  when: openshift.common.deployment_type in ['enterprise', 'openshift-enterprise', 'atomic-enterprise']
 - set_fact:
     docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries')
                                       | oo_split() | difference(['']) }}"
-  when: openshift.common.deployment_type != 'enterprise'
+  when: openshift.common.deployment_type not in ['enterprise', 'openshift-enterprise', 'atomic-enterprise']
 
 - name: Add personal registries
   lineinfile: