Class: Ansible::Ruby::Modules::Lvg
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Lvg
- Defined in:
- lib/ansible/ruby/modules/generated/system/lvg.rb
Overview
This module creates, removes or resizes volume groups.
Instance Method Summary collapse
-
#force ⇒ :yes, ...
If C(yes), allows to remove volume group with logical volumes.
-
#pesize ⇒ Integer?
The size of the physical extent.
-
#pv_options ⇒ Object?
Additional options to pass to C(pvcreate) when creating the volume group.
-
#pvs ⇒ Array<String>, ...
List of comma-separated devices to use as physical devices in this volume group.
-
#state ⇒ :absent, ...
Control if the volume group exists.
-
#vg ⇒ String
The name of the volume group.
-
#vg_options ⇒ Object?
Additional options to pass to C(vgcreate) when creating the volume group.
Methods inherited from Base
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.
34 |
# File 'lib/ansible/ruby/modules/generated/system/lvg.rb', line 34 attribute :force |
#pesize ⇒ Integer?
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.
20 |
# File 'lib/ansible/ruby/modules/generated/system/lvg.rb', line 20 attribute :pesize |
#pv_options ⇒ Object?
Returns 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 |
#pvs ⇒ Array<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.
16 |
# File 'lib/ansible/ruby/modules/generated/system/lvg.rb', line 16 attribute :pvs |
#state ⇒ :absent, ...
Returns Control if the volume group exists.
30 |
# File 'lib/ansible/ruby/modules/generated/system/lvg.rb', line 30 attribute :state |
#vg ⇒ String
Returns The name of the volume group.
12 |
# File 'lib/ansible/ruby/modules/generated/system/lvg.rb', line 12 attribute :vg |
#vg_options ⇒ Object?
Returns 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 |