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

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#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



35
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 35

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



18
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 18

attribute :cluster

#directoryString?

Returns Directory for limit-usage.

Returns:

  • (String, nil)

    Directory for limit-usage



47
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 47

attribute :directory

#forceObject?

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

Returns:

  • (Object, nil)

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



59
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 59

attribute :force

#hostObject?

Returns Override local hostname (for peer probing purposes).

Returns:

  • (Object, nil)

    Override local hostname (for peer probing purposes)



22
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 22

attribute :host

#nameString

Returns The volume name.

Returns:

  • (String)

    The volume name



10
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 10

attribute :name

#optionsString?

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

Returns:

  • (String, nil)

    A dictionary/hash with options/settings for the volume



51
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 51

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)



55
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 55

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



43
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 43

attribute :rebalance

#replicasObject?

Returns Replica count for volume.

Returns:

  • (Object, nil)

    Replica count for volume



25
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 25

attribute :replicas

#start_on_create:yes, ...

Returns Controls whether the volume is started after creation or not, defaults to yes.

Returns:

  • (:yes, :no, nil)

    Controls whether the volume is started after creation or not, defaults to yes



39
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 39

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.

Returns:

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

    Use present/absent ensure if a volume exists or not, use started/stopped to control it’s availability.



14
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 14

attribute :state

#stripesObject?

Returns Stripe count for volume.

Returns:

  • (Object, nil)

    Stripe count for volume



28
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 28

attribute :stripes

#transport:tcp, ...

Returns Transport type for volume.

Returns:

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

    Transport type for volume



31
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 31

attribute :transport