12345678910111213141516 |
- ---
- - set_fact:
- openshift_hosted_router_selector: "{{ openshift_hosted_infra_selector }}"
- when: openshift_hosted_router_selector is not defined and openshift_hosted_infra_selector is defined
- - set_fact:
- openshift_hosted_registry_selector: "{{ openshift_hosted_infra_selector }}"
- when: openshift_hosted_registry_selector is not defined and openshift_hosted_infra_selector is defined
- - name: Set hosted facts
- openshift_facts:
- role: hosted
- openshift_env: "{{ hostvars
- | oo_merge_hostvars(vars, inventory_hostname)
- | oo_openshift_env }}"
- openshift_env_structures:
- - 'openshift.hosted.router.*'
|