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