summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/defaults
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-11-20 18:25:30 -0500
committerMichael Gugino <mgugino@redhat.com>2017-11-22 10:00:22 -0500
commitf9846a94a2ebd0f9417aeb8f9007f8acdba32b24 (patch)
tree1c3e0a251c353e2c7de8bd54aba3475559048dc9 /roles/openshift_master/defaults
parent1ad44b02b99b0e0e7e69c6c25ece502f9962c6a1 (diff)
downloadopenshift-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_master/defaults')
-rw-r--r--roles/openshift_master/defaults/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_master/defaults/main.yml b/roles/openshift_master/defaults/main.yml
index 3fb94fff8..99bc12514 100644
--- a/roles/openshift_master/defaults/main.yml
+++ b/roles/openshift_master/defaults/main.yml
@@ -7,6 +7,12 @@ openshift_master_debug_level: "{{ debug_level | default(2) }}"
r_openshift_master_firewall_enabled: "{{ os_firewall_enabled | default(True) }}"
r_openshift_master_use_firewalld: "{{ os_firewall_use_firewalld | default(False) }}"
+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_node_ips: []
r_openshift_master_clean_install: false
r_openshift_master_etcd3_storage: false