Class: Ansible::Ruby::Modules::Filesystem

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

#devString

Returns Target block device.

Returns:

  • (String)

    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.

Returns:

  • (:yes, :no, nil)

    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

#fstypeString

Returns File System type to be created.

Returns:

  • (String)

    File System type to be created.



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

attribute :fstype

#optsString?

Returns List of options to be passed to mkfs command.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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