---
- import_playbook: maintain.yml

- 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?