Class: Ansible::Ruby::Modules::Iso_extract

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/files/iso_extract.rb

Overview

This module has two possible ways of operation. If 7zip is installed on the system, this module extracts files from an ISO into a temporary directory and copies files to a given destination, if needed. If the user has mount-capabilities (CAP_SYS_ADMIN on Linux) this module mounts the ISO image to a temporary location, and copies files to a given destination, if needed.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#destString

Returns The destination directory to extract files to.

Returns:

  • (String)

    The destination directory to extract files to.



18
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 18

attribute :dest

#executableString?

Returns The path to the C(7z) executable to use for extracting files from the ISO.

Returns:

  • (String, nil)

    The path to the C(7z) executable to use for extracting files from the ISO.



30
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 30

attribute :executable

#filesArray<String>, String

Returns A list of files to extract from the image.,Extracting directories does not work.

Returns:

  • (Array<String>, String)

    A list of files to extract from the image.,Extracting directories does not work.



22
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 22

attribute :files

#force:yes, ...

Returns If C(yes), which will replace the remote file when contents are different than the source.,If C(no), the file will only be extracted and copied if the destination does not already exist.

Returns:

  • (:yes, :no, nil)

    If C(yes), which will replace the remote file when contents are different than the source.,If C(no), the file will only be extracted and copied if the destination does not already exist.



26
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 26

attribute :force

#imageString

Returns The ISO image to extract files from.

Returns:

  • (String)

    The ISO image to extract files from.



14
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 14

attribute :image