Class: Ansible::Ruby::Modules::Unarchive
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Unarchive
- Defined in:
- lib/ansible/ruby/modules/generated/core/files/unarchive.rb
Instance Method Summary collapse
-
#copy ⇒ :yes, ...
If true, the file is copied from local ‘master’ to the target machine, otherwise, the plugin will look for src archive at the target machine.
-
#creates ⇒ Object?
A filename, when it already exists, this step will B(not) be run.
-
#dest ⇒ String
Remote absolute path where the archive should be unpacked.
-
#exclude ⇒ Object?
List the directory and file entries that you would like to exclude from the unarchive action.
-
#extra_opts ⇒ Object?
Specify additional options by passing in an array.
-
#keep_newer ⇒ Boolean?
Do not replace existing files that are newer than files from the archive.
-
#list_files ⇒ :yes, ...
If set to True, return the list of files that are contained in the tarball.
-
#src ⇒ String
If copy=yes (default), local path to archive file to copy to the target server; can be absolute or relative.
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
#copy ⇒ :yes, ...
Returns If true, the file is copied from local ‘master’ to the target machine, otherwise, the plugin will look for src archive at the target machine.
18 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 18 attribute :copy |
#creates ⇒ Object?
Returns a filename, when it already exists, this step will B(not) be run.
22 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 22 attribute :creates |
#dest ⇒ String
Returns Remote absolute path where the archive should be unpacked.
14 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 14 attribute :dest |
#exclude ⇒ Object?
Returns List the directory and file entries that you would like to exclude from the unarchive action.
29 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 29 attribute :exclude |
#extra_opts ⇒ Object?
Returns Specify additional options by passing in an array.
36 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 36 attribute :extra_opts |
#keep_newer ⇒ Boolean?
Returns Do not replace existing files that are newer than files from the archive.
32 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 32 attribute :keep_newer |
#list_files ⇒ :yes, ...
Returns If set to True, return the list of files that are contained in the tarball.
25 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 25 attribute :list_files |
#src ⇒ String
Returns If copy=yes (default), local path to archive file to copy to the target server; can be absolute or relative. If copy=no, path on the target server to existing archive file to unpack.,If copy=no and src contains ://, the remote machine will download the file from the url first. (version_added 2.0).
10 |
# File 'lib/ansible/ruby/modules/generated/core/files/unarchive.rb', line 10 attribute :src |