summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift_facts.yml
blob: 83d28bcbe5e9d951f3f45d39a244ba2acba98b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- import_playbook: ../init/main.yml

- name: Gather Cluster facts
  hosts: oo_all_hosts
  roles:
  - openshift_facts
  tasks:
  - openshift_facts:
      openshift_env: "{{ hostvars[inventory_hostname] | oo_openshift_env }}"
    register: result
  - debug:
      var: result