summaryrefslogtreecommitdiffstats
path: root/roles/ands_facts/tasks/main.yml
blob: ce5dd231829f4f3b2fb264d8e23bd90b7ba4f1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
# 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: "Confirm that ands facts are configured"
  set_fact:
    ands_none: "{{ ands_none }}"
    ands_facts_configured: true