summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-04-21 10:03:29 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-04-21 10:03:29 -0300
commit08403855c0ced2a1db654ab9e14a4a77e82233c9 (patch)
tree3e0a38edca23874d8879dd6297991bd2a45e84da
parenta724e27225775ae0d53154b831c5abd637c9a293 (diff)
downloadopenshift-08403855c0ced2a1db654ab9e14a4a77e82233c9.tar.gz
openshift-08403855c0ced2a1db654ab9e14a4a77e82233c9.tar.bz2
openshift-08403855c0ced2a1db654ab9e14a4a77e82233c9.tar.xz
openshift-08403855c0ced2a1db654ab9e14a4a77e82233c9.zip
Fix bug after portal_net move from master to common role.
Use of the variable was still pointing to the master role location causing the default insecure registry subnet to be used rather than the expected one.
-rw-r--r--playbooks/common/openshift-node/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 4bc98374d..897e91190 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -119,7 +119,7 @@
# hostvars[groups.oo_first_master.0].openshift.hosted.registry instead of
# hardcoding
openshift_docker_hosted_registry_insecure: True
- openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.master.portal_net }}"
+ openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.common.portal_net }}"
roles:
- openshift_node
@@ -132,7 +132,7 @@
# hostvars[groups.oo_first_master.0].openshift.hosted.registry instead of
# hardcoding
openshift_docker_hosted_registry_insecure: True
- openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.master.portal_net }}"
+ openshift_docker_hosted_registry_network: "{{ hostvars[groups.oo_first_master.0].openshift.common.portal_net }}"
roles:
- openshift_node