File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
playbooks/common/openshift-cluster Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 108
108
when :
109
109
- l_any_system_container | bool
110
110
111
+ - name : Default system_images_registry to a enterprise registry
112
+ set_fact :
113
+ system_images_registry : " registry.access.redhat.com"
114
+ when :
115
+ - system_images_registry is not defined
116
+ - openshift_deployment_type == "openshift-enterprise"
117
+
118
+ - name : Default system_images_registry to community registry
119
+ set_fact :
120
+ system_images_registry : " docker.io"
121
+ when :
122
+ - system_images_registry is not defined
123
+ - openshift_deployment_type == "origin"
124
+
111
125
- name : Gather Cluster facts and set is_containerized if needed
112
126
openshift_facts :
113
127
role : common
124
138
is_master_system_container : " {{ l_is_master_system_container | default(false) }}"
125
139
is_etcd_system_container : " {{ l_is_etcd_system_container | default(false) }}"
126
140
etcd_runtime : " {{ l_etcd_runtime }}"
127
- system_images_registry : " {{ system_images_registry | default('') }}"
141
+ system_images_registry : " {{ system_images_registry }}"
128
142
public_hostname : " {{ openshift_public_hostname | default(None) }}"
129
143
public_ip : " {{ openshift_public_ip | default(None) }}"
130
144
portal_net : " {{ openshift_portal_net | default(openshift_master_portal_net) | default(None) }}"
You can’t perform that action at this time.
0 commit comments