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

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

Overview

This module creates file system.

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



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

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.



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

attribute :force

#fstypeString

Returns File System type to be created.

Returns:

  • (String)

    File System type to be created.



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

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.



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

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.



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

attribute :resizefs