Class: Ansible::Ruby::Modules::Gluster_volume
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gluster_volume
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb
Overview
Create, remove, start, stop and tune GlusterFS volumes
Instance Method Summary collapse
-
#bricks ⇒ Array<String>, ...
Brick paths on servers.
-
#cluster ⇒ Array<String>, ...
List of hosts to use for probing and brick setup.
-
#directory ⇒ String?
Directory for limit-usage.
-
#force ⇒ Object?
If brick is being created in the root partition, module will fail.
-
#host ⇒ Object?
Override local hostname (for peer probing purposes).
-
#name ⇒ String
The volume name.
-
#options ⇒ String?
A dictionary/hash with options/settings for the volume.
-
#quota ⇒ String?
Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list).
-
#rebalance ⇒ :yes, ...
Controls whether the cluster is rebalanced after changes.
-
#replicas ⇒ Object?
Replica count for volume.
-
#start_on_create ⇒ :yes, ...
Controls whether the volume is started after creation or not, defaults to yes.
-
#state ⇒ :present, ...
Use present/absent ensure if a volume exists or not, use started/stopped to control it’s availability.
-
#stripes ⇒ Object?
Stripe count for volume.
-
#transport ⇒ :tcp, ...
Transport type for volume.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#bricks ⇒ Array<String>, ...
Returns Brick paths on servers. Multiple brick paths can be separated by commas.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 36 attribute :bricks |
#cluster ⇒ Array<String>, ...
Returns List of hosts to use for probing and brick setup.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 19 attribute :cluster |
#directory ⇒ String?
Returns Directory for limit-usage.
48 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 48 attribute :directory |
#force ⇒ Object?
Returns If brick is being created in the root partition, module will fail. Set force to true to override this behaviour.
60 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 60 attribute :force |
#host ⇒ Object?
Returns Override local hostname (for peer probing purposes).
23 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 23 attribute :host |
#name ⇒ String
Returns The volume name.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 11 attribute :name |
#options ⇒ String?
Returns A dictionary/hash with options/settings for the volume.
52 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 52 attribute :options |
#quota ⇒ String?
Returns Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list).
56 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 56 attribute :quota |
#rebalance ⇒ :yes, ...
Returns Controls whether the cluster is rebalanced after changes.
44 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 44 attribute :rebalance |
#replicas ⇒ Object?
Returns Replica count for volume.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 26 attribute :replicas |
#start_on_create ⇒ :yes, ...
Returns Controls whether the volume is started after creation or not, defaults to yes.
40 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 40 attribute :start_on_create |
#state ⇒ :present, ...
Returns Use present/absent ensure if a volume exists or not, use started/stopped to control it’s availability.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 15 attribute :state |
#stripes ⇒ Object?
Returns Stripe count for volume.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 29 attribute :stripes |
#transport ⇒ :tcp, ...
Returns Transport type for volume.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 32 attribute :transport |