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

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