- 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() }}"