summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_facts
diff options
context:
space:
mode:
authorEric Wolinetz <ewolinet@redhat.com>2017-08-23 09:56:34 -0500
committerEric Wolinetz <ewolinet@redhat.com>2017-09-20 16:43:27 -0500
commitb2fdc1cb5e38e39250af702d1e19ed691e4df7d5 (patch)
treeb5e8368514f9ae29f6fefef1d5e7ae7d8c1ee95c /roles/openshift_hosted_facts
parent457e0f80784820b9ff0fb6a7407c271731f5b1d9 (diff)
downloadopenshift-b2fdc1cb5e38e39250af702d1e19ed691e4df7d5.tar.gz
openshift-b2fdc1cb5e38e39250af702d1e19ed691e4df7d5.tar.bz2
openshift-b2fdc1cb5e38e39250af702d1e19ed691e4df7d5.tar.xz
openshift-b2fdc1cb5e38e39250af702d1e19ed691e4df7d5.zip
Creating structure to warn for use of deprecated variables and set them in a single location before they are no longer honored
Diffstat (limited to 'roles/openshift_hosted_facts')
-rw-r--r--roles/openshift_hosted_facts/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_hosted_facts/tasks/main.yml b/roles/openshift_hosted_facts/tasks/main.yml
index 631bf3e2a..53d1a8bc7 100644
--- a/roles/openshift_hosted_facts/tasks/main.yml
+++ b/roles/openshift_hosted_facts/tasks/main.yml
@@ -8,9 +8,10 @@
- name: Set hosted facts
openshift_facts:
- role: hosted
+ 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]