summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_facts
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-05 13:26:55 -0500
committerGitHub <noreply@github.com>2017-12-05 13:26:55 -0500
commit03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb (patch)
tree4f832c169d00cd8962333c29096753cb6e322b19 /roles/openshift_hosted_facts
parente64cc7d416e8121dcda25be05da9ec3c5b6899eb (diff)
parent0de559c8f2fd310fe36047ae000574229b7858c9 (diff)
downloadopenshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.tar.gz
openshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.tar.bz2
openshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.tar.xz
openshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.zip
Merge pull request #6306 from mgugino-upstream-stage/fix-hosted-vars
Fix hosted vars
Diffstat (limited to 'roles/openshift_hosted_facts')
-rw-r--r--roles/openshift_hosted_facts/tasks/main.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/roles/openshift_hosted_facts/tasks/main.yml b/roles/openshift_hosted_facts/tasks/main.yml
index 8fc70cecb..ed97d539c 100644
--- a/roles/openshift_hosted_facts/tasks/main.yml
+++ b/roles/openshift_hosted_facts/tasks/main.yml
@@ -1,19 +1 @@
---
-# openshift_*_selector variables have been deprecated in favor of
-# openshift_hosted_*_selector variables.
-- set_fact:
- openshift_hosted_router_selector: "{{ openshift_router_selector | default(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_registry_selector | default(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: "{{ item }}"
- openshift_env: "{{ hostvars
- | oo_merge_hostvars(vars, inventory_hostname)
- | oo_openshift_env }}"
- openshift_env_structures:
- - 'openshift.hosted.router.*'
- with_items: [hosted, logging, loggingops, metrics, prometheus]