Class: Ansible::Ruby::Modules::Lvg

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/lvg.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

#force:yes, ...

Returns If yes, allows to remove volume group with logical volumes.

Returns:

  • (:yes, :no, nil)

    If yes, allows to remove volume group with logical volumes.



29
# File 'lib/ansible/ruby/modules/generated/extras/system/lvg.rb', line 29

attribute :force

#pesizeInteger?

Returns The size of the physical extent in megabytes. Must be a power of 2.

Returns:

  • (Integer, nil)

    The size of the physical extent in megabytes. Must be a power of 2.



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

attribute :pesize

#pvsArray<String>, ...

Returns List of comma-separated devices to use as physical devices in this volume group. Required when creating or resizing volume group.,The module will take care of running pvcreate if needed.

Returns:

  • (Array<String>, String, nil)

    List of comma-separated devices to use as physical devices in this volume group. Required when creating or resizing volume group.,The module will take care of running pvcreate if needed.



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

attribute :pvs

#state:present, ...

Returns Control if the volume group exists.

Returns:

  • (:present, :absent, nil)

    Control if the volume group exists.



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

attribute :state

#vgString

Returns The name of the volume group.

Returns:

  • (String)

    The name of the volume group.



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

attribute :vg

#vg_optionsObject?

Returns Additional options to pass to C(vgcreate) when creating the volume group.

Returns:

  • (Object, nil)

    Additional options to pass to C(vgcreate) when creating the volume group.



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

attribute :vg_options