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

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

Overview

This module creates, removes or resizes volume groups.

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

#force:yes, ...

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

Returns:

  • (:yes, :no, nil)

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



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

attribute :force

#pesizeInteger?

Returns The size of the physical extent. pesize must be a power of 2, or multiple of 128KiB. Since version 2.6, pesize can be optionally suffixed by a UNIT (k/K/m/M/g/G), default unit is megabyte.

Returns:

  • (Integer, nil)

    The size of the physical extent. pesize must be a power of 2, or multiple of 128KiB. Since version 2.6, pesize can be optionally suffixed by a UNIT (k/K/m/M/g/G), default unit is megabyte.



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

attribute :pesize

#pv_optionsObject?

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

Returns:

  • (Object, nil)

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



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

attribute :pv_options

#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.



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

attribute :pvs

#state:absent, ...

Returns Control if the volume group exists.

Returns:

  • (:absent, :present, nil)

    Control if the volume group exists.



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

attribute :state

#vgString

Returns The name of the volume group.

Returns:

  • (String)

    The name of the volume group.



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

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.



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

attribute :vg_options