summaryrefslogtreecommitdiffstats
path: root/roles/ands_facts/tasks/main.yml
blob: 54c800abea334a31f12567bd37336ecd81db1323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
# We need all mount points ready
- name: "Run mount -a"
  command: mount -a
  changed_when: false

# 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 }}"