Class: Ansible::Ruby::Modules::Iso_extract
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iso_extract
- 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
-
#dest ⇒ String
The destination directory to extract files to.
-
#executable ⇒ String?
The path to the C(7z) executable to use for extracting files from the ISO.
-
#files ⇒ Array<String>, String
A list of files to extract from the image.,Extracting directories does not work.
-
#force ⇒ :yes, ...
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.
-
#image ⇒ String
The ISO image to extract files from.
Methods inherited from Base
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
#dest ⇒ String
Returns The destination directory to extract files to.
18 |
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 18 attribute :dest |
#executable ⇒ String?
Returns 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 |
#files ⇒ Array<String>, String
Returns 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.
26 |
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 26 attribute :force |
#image ⇒ String
Returns The ISO image to extract files from.
14 |
# File 'lib/ansible/ruby/modules/generated/files/iso_extract.rb', line 14 attribute :image |