summaryrefslogtreecommitdiffstats
path: root/roles/ands_facts/tasks/main.yml
blob: 5f1a5d72362969f2423b0d9656798141b7b58c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
# Here we set 'openshift_hostname', 'openshift_ip' and other variables
- name: "Configuring network facts"
  include_tasks: "network.yml"

# The variables accessed trough 'hostvars' should be set as facts
# Here we set 'ands_storage_servers' and other variables
- name: "Configuring storage facts"
  include_tasks: "storage.yml"

- name: "Configuring ands nodes"
  include_tasks: "nodes.yml"

- name: "Configuring ands volumes"
  include_tasks: "volumes.yml"

- name: "Confirm that ands facts are configured"
  set_fact:
    ands_none: "{{ ands_none }}"
    ands_facts_configured: true

#- debug: msg="{{ ands_volume_hostraid_servers }}"