summaryrefslogtreecommitdiffstats
path: root/playbooks/ands-gluster-ganesha.yml
blob: d3a9c71d00d49414475137a1c8db79c21c274466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- import_playbook: maintain.yml

- name: Configure GlusterFS cluster 
  hosts: masters, new_masters
  roles:
    - { role: ands_network, action: ganesha }
    - { role: glusterfs, action: ganesha }
    - { role: ganesha }
  vars:
    glusterfs_network: "{{ ands_storage_network }}"
    glusterfs_servers: "{{ ands_storage_servers }}"
    glusterfs_bricks_path: "{{ ands_data_path }}/glusterfs"
    glusterfs_domains: "{{ ands_storage_domains }}"
    kaas_projects: "{{ ands_openshift_projects.keys() }}"

- name: Configure GlusterFS cluster 
  hosts: ands_storage_servers, new_ands_storage_servers
  roles:
     - { role: ands_kaas, subrole: sysgroups }
  vars:
    kaas_projects: "{{ ands_openshift_projects.keys() }}"