summaryrefslogtreecommitdiffstats
path: root/playbooks/ands-gluster.yml
blob: 6e71b557caae5dee1c54d6a0ded9a5b6a807cc66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- name: Common setup procedures
  hosts: ands
  roles:
    - role: ands_facts

- name: Configure GlusterFS cluster 
  hosts: ands_servers
  roles:
    - role: glusterfs
  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 Backup
  hosts: ands_servers
  roles:
    - role: ands_backup