Sergio Slobodrian | 523ee78 | 2017-08-22 16:44:21 -0400 | [diff] [blame] | 1 | - name: The glusterfs volume is created |
2 | gluster_volume: | ||||
3 | bricks: "{{ replicated_fs_dir }}/brick1" | ||||
4 | force: true | ||||
5 | cluster: "{{groups.cluster | join(\",\")}}" | ||||
6 | replicas: 3 | ||||
7 | name: registry_volume | ||||
8 | state: present | ||||
9 | run_once: true | ||||
10 | |||||
11 | - name: Start the gluster volume | ||||
12 | gluster_volume: | ||||
13 | name: registry_volume | ||||
14 | state: started |