New in version 1.9.
(added in 2.3)
Arbiter count for volume
Brick paths on servers. Multiple brick paths can be separated by commas
List of hosts to use for probing and brick setup
Directory for limit-usage
(added in 2.2)
Disperse count for volume
If brick is being created in the root partition, module will fail. Set force to true to override this behaviour
Override local hostname (for peer probing purposes)
The volume name
A dictionary/hash with options/settings for the volume
Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list)
Controls whether the cluster is rebalanced after changes
(added in 2.2)
Redundancy count for volume
Replica count for volume
Controls whether the volume is started after creation or not, defaults to yes
Use present/absent ensure if a volume exists or not, use started/stopped to control it's availability.
Stripe count for volume
Transport type for volume
- name: create gluster volume gluster_volume: state: present name: test1 bricks: /bricks/brick1/g1 rebalance: yes cluster: - 192.0.2.10 - 192.0.2.11 run_once: true - name: tune gluster_volume: state: present name: test1 options: performance.cache-size: 256MB - name: start gluster volume gluster_volume: state: started name: test1 - name: limit usage gluster_volume: state: present name: test1 directory: /foo quota: 20.0MB - name: stop gluster volume gluster_volume: state: stopped name: test1 - name: remove gluster volume gluster_volume: state: absent name: test1 - name: create gluster volume with multiple bricks gluster_volume: state: present name: test2 bricks: /bricks/brick1/g2,/bricks/brick2/g2 cluster: - 192.0.2.10 - 192.0.2.11 run_once: true
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support