blob: bcb5a34a4f744ffb7e3165e6cba74751a0420d8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: Create Hosted Resources - router
hosts: oo_first_master
tasks:
- set_fact:
openshift_hosted_router_registryurl: "{{ hostvars[groups.oo_first_master.0].openshift.master.registry_url }}"
when: "'master' in hostvars[groups.oo_first_master.0].openshift and 'registry_url' in hostvars[groups.oo_first_master.0].openshift.master"
- include_role:
name: openshift_hosted
tasks_from: router.yml
when:
- openshift_hosted_manage_router | default(True) | bool
- openshift_hosted_router_registryurl is defined
|