summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift_facts.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/byo/openshift_facts.yml')
-rw-r--r--playbooks/byo/openshift_facts.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/byo/openshift_facts.yml b/playbooks/byo/openshift_facts.yml
index 6d7c12fd4..916dfd0a6 100644
--- a/playbooks/byo/openshift_facts.yml
+++ b/playbooks/byo/openshift_facts.yml
@@ -1,10 +1,10 @@
---
- name: Gather Cluster facts
- hosts: all
- gather_facts: no
+ hosts: OSEv3
roles:
- openshift_facts
tasks:
- openshift_facts:
+ openshift_env: "{{ hostvars[inventory_hostname] | oo_openshift_env }}"
register: result
- debug: var=result