Class: Ansible::Ruby::Modules::Gluster_volume

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb

Overview

Create, remove, start, stop and tune GlusterFS volumes

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#arbitersObject?

Returns Arbiter count for volume.

Returns:

  • (Object, nil)

    Arbiter count for volume.



30
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 30

attribute :arbiters

#bricksArray<String>, ...

Returns Brick paths on servers. Multiple brick paths can be separated by commas.

Returns:

  • (Array<String>, String, nil)

    Brick paths on servers. Multiple brick paths can be separated by commas.



46
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 46

attribute :bricks

#clusterArray<String>, ...

Returns List of hosts to use for probing and brick setup.

Returns:

  • (Array<String>, String, nil)

    List of hosts to use for probing and brick setup.



20
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 20

attribute :cluster

#directoryString?

Returns Directory for limit-usage.

Returns:

  • (String, nil)

    Directory for limit-usage.



58
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 58

attribute :directory

#dispersesObject?

Returns Disperse count for volume.

Returns:

  • (Object, nil)

    Disperse count for volume.



36
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 36

attribute :disperses

#forceSymbol?

Returns If brick is being created in the root partition, module will fail. Set force to true to override this behaviour.

Returns:

  • (Symbol, nil)

    If brick is being created in the root partition, module will fail. Set force to true to override this behaviour.



70
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 70

attribute :force

#hostObject?

Returns Override local hostname (for peer probing purposes).

Returns:

  • (Object, nil)

    Override local hostname (for peer probing purposes).



24
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 24

attribute :host

#nameString

Returns The volume name.

Returns:

  • (String)

    The volume name.



12
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 12

attribute :name

#optionsHash?

Returns A dictionary/hash with options/settings for the volume.

Returns:

  • (Hash, nil)

    A dictionary/hash with options/settings for the volume.



62
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 62

attribute :options

#quotaString?

Returns Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list).

Returns:

  • (String, nil)

    Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list).



66
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 66

attribute :quota

#rebalance:yes, ...

Returns Controls whether the cluster is rebalanced after changes.

Returns:

  • (:yes, :no, nil)

    Controls whether the cluster is rebalanced after changes.



54
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 54

attribute :rebalance

#redundanciesObject?

Returns Redundancy count for volume.

Returns:

  • (Object, nil)

    Redundancy count for volume.



39
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 39

attribute :redundancies

#replicasObject?

Returns Replica count for volume.

Returns:

  • (Object, nil)

    Replica count for volume.



27
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 27

attribute :replicas

#start_on_create:yes, ...

Returns Controls whether the volume is started after creation or not.

Returns:

  • (:yes, :no, nil)

    Controls whether the volume is started after creation or not.



50
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 50

attribute :start_on_create

#state:absent, ...

Returns Use present/absent ensure if a volume exists or not. Use started/stopped to control its availability.

Returns:

  • (:absent, :present, :started, :stopped)

    Use present/absent ensure if a volume exists or not. Use started/stopped to control its availability.



16
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 16

attribute :state

#stripesObject?

Returns Stripe count for volume.

Returns:

  • (Object, nil)

    Stripe count for volume.



33
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 33

attribute :stripes

#transport:tcp, ...

Returns Transport type for volume.

Returns:

  • (:tcp, :rdma, :"tcp,rdma", nil)

    Transport type for volume.



42
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_volume.rb', line 42

attribute :transport