summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/data/vols3.yml
blob: 866480c3962c977721aa6eaa8d943cbf465a1064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: "Create {{ name }} volume"
  gluster_volume: 
    state: present
    name: "{{ name }}"
    cluster: "{{ domain_servers | join(',') }}"
    replicas: 3
    arbiters: 1
    bricks: "{{ glusterfs_bricks_path }}/brick-{{ name }}"
    transport: "{{ glusterfs_transport }}"


- name: "Start {{ name }} volume"
  gluster_volume: state="started" name="{{ name }}"