diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-05-31 15:12:45 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-05-31 15:13:30 -0400 |
commit | c00fe0be39f53a67b884044363106e2052a0d877 (patch) | |
tree | 20a2f4b0dee2e827f9ebbabf371eef79c48536ab /playbooks/common/openshift-cluster | |
parent | 444127b4ee58b8e7314af583e3f0d70f3522d543 (diff) | |
download | openshift-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/common/openshift-cluster')
-rw-r--r-- | playbooks/common/openshift-cluster/openshift_hosted.yml | 4 |
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 }}" |