Class: Ansible::Ruby::Modules::Filesystem
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Filesystem
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/filesystem.rb
Instance Method Summary collapse
-
#dev ⇒ String
Target block device.
-
#force ⇒ :yes, ...
If yes, allows to create new filesystem on devices that already has filesystem.
-
#fstype ⇒ String
File System type to be created.
-
#opts ⇒ String?
List of options to be passed to mkfs command.
-
#resizefs ⇒ :yes, ...
If yes, if the block device and filessytem size differ, grow the filesystem into the space.
Methods inherited from Base
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
#dev ⇒ String
Returns Target block device.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/system/filesystem.rb', line 14 attribute :dev |
#force ⇒ :yes, ...
Returns If yes, allows to create new filesystem on devices that already has filesystem.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/filesystem.rb', line 18 attribute :force |
#fstype ⇒ String
Returns File System type to be created.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/system/filesystem.rb', line 10 attribute :fstype |
#opts ⇒ String?
Returns List of options to be passed to mkfs command.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/system/filesystem.rb', line 26 attribute :opts |
#resizefs ⇒ :yes, ...
Returns If yes, if the block device and filessytem size differ, grow the filesystem into the space. Note, XFS Will only grow if mounted.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/system/filesystem.rb', line 22 attribute :resizefs |