summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-setup-storage.yml
blob: 64099bcade9c38e21305bcae9f96d324ce079352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- name: Analyze Ands configuration
  hosts: nodes
  roles:
    - { role: ands_facts }

- name: Configure GlusterFS storage
  hosts: nodes
  roles:
    - { role: glusterfs, subrole: volumes }
  vars:
    glusterfs_network: "{{ ands_storage_network }}"
    glusterfs_servers: "{{ ands_storage_servers }}"
    glusterfs_bricks_path: "{{ ands_data_path }}/glusterfs"
    glusterfs_domains: "{{ ands_storage_domains }}"


- name: Configure OpenShift volumes
  hosts: masters
  roles:
    - { role: ands_openshift, subrole: storage }

# we also reconfigure kaas to populate new configs?