summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/openshift_hosted.yml
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-31 22:23:44 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-31 22:23:44 -0400
commit1c6787d2692a8060580b0e6ff37a26b87d08c701 (patch)
treef87e0caffc445f5b1451ed1abd6f6d1f1afe66dd /playbooks/common/openshift-cluster/openshift_hosted.yml
parent51f0e95bb65ab8f59f683226afefe381e430aae4 (diff)
parentc00fe0be39f53a67b884044363106e2052a0d877 (diff)
downloadopenshift-1c6787d2692a8060580b0e6ff37a26b87d08c701.tar.gz
openshift-1c6787d2692a8060580b0e6ff37a26b87d08c701.tar.bz2
openshift-1c6787d2692a8060580b0e6ff37a26b87d08c701.tar.xz
openshift-1c6787d2692a8060580b0e6ff37a26b87d08c701.zip
Merge pull request #1965 from abutcher/router-registryurl
Ensure registry url evaluated when creating router.
Diffstat (limited to 'playbooks/common/openshift-cluster/openshift_hosted.yml')
-rw-r--r--playbooks/common/openshift-cluster/openshift_hosted.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/openshift_hosted.yml b/playbooks/common/openshift-cluster/openshift_hosted.yml
index 1cbc0f544..babb5ea71 100644
--- a/playbooks/common/openshift-cluster/openshift_hosted.yml
+++ b/playbooks/common/openshift-cluster/openshift_hosted.yml
@@ -1,5 +1,7 @@
- name: Create Hosted Resources
hosts: oo_first_master
+ pre_tasks:
+ - set_fact:
+ openshift_hosted_router_registryurl: "{{ hostvars[groups.oo_first_master.0].openshift.master.registry_url }}"
roles:
- role: openshift_hosted
- openshift_hosted_router_registryurl: "{{ hostvars[groups.oo_first_master.0].openshift.master.registry_url }}"