diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-11-20 18:25:30 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-11-22 10:00:22 -0500 |
commit | f9846a94a2ebd0f9417aeb8f9007f8acdba32b24 (patch) | |
tree | 1c3e0a251c353e2c7de8bd54aba3475559048dc9 /roles/openshift_node/defaults | |
parent | 1ad44b02b99b0e0e7e69c6c25ece502f9962c6a1 (diff) | |
download | openshift-f9846a94a2ebd0f9417aeb8f9007f8acdba32b24.tar.gz openshift-f9846a94a2ebd0f9417aeb8f9007f8acdba32b24.tar.bz2 openshift-f9846a94a2ebd0f9417aeb8f9007f8acdba32b24.tar.xz openshift-f9846a94a2ebd0f9417aeb8f9007f8acdba32b24.zip |
Fix system_images_registry variable
Simplify the logic for this variable.
Diffstat (limited to 'roles/openshift_node/defaults')
-rw-r--r-- | roles/openshift_node/defaults/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml index 816338fa1..d249278dc 100644 --- a/roles/openshift_node/defaults/main.yml +++ b/roles/openshift_node/defaults/main.yml @@ -9,6 +9,12 @@ l_is_node_system_container: "{{ (openshift_use_node_system_container | default(o openshift_deployment_type: "{{ openshift_deployment_type | default('origin') }}" openshift_service_type: "{{ 'origin' if openshift_deployment_type == 'origin' else 'atomic-openshift' }}" +system_images_registry_dict: + openshift-enterprise: "registry.access.redhat.com" + origin: "docker.io" + +system_images_registry: "{{ system_images_registry_dict[openshift_deployment_type | default('origin')] }}" + openshift_image_tag: '' default_r_openshift_node_image_prep_packages: |