summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-05-31 15:12:45 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-05-31 15:13:30 -0400
commitc00fe0be39f53a67b884044363106e2052a0d877 (patch)
tree20a2f4b0dee2e827f9ebbabf371eef79c48536ab /playbooks
parent444127b4ee58b8e7314af583e3f0d70f3522d543 (diff)
downloadopenshift-c00fe0be39f53a67b884044363106e2052a0d877.tar.gz
openshift-c00fe0be39f53a67b884044363106e2052a0d877.tar.bz2
openshift-c00fe0be39f53a67b884044363106e2052a0d877.tar.xz
openshift-c00fe0be39f53a67b884044363106e2052a0d877.zip
Ensure registry url evaluated when creating router.
Diffstat (limited to 'playbooks')
-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 }}"