Browse Source

Fix registry modification for new deployment types.

New deployment types were missed when installing with additional docker
registries.
Devan Goodwin 9 years ago
parent
commit
072d4aacbe
1 changed files with 2 additions and 2 deletions
  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: