Class: Ansible::Ruby::Modules::Win_copy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_copy
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_copy.rb
Overview
The C(win_copy) module copies a file on the local box to remote windows locations. For non-Windows targets, use the M(copy) module instead.
Instance Method Summary collapse
-
#content ⇒ String?
When used instead of C(src), sets the contents of a file directly to the specified value.
-
#decrypt ⇒ :yes, ...
This option controls the autodecryption of source files using vault.
-
#dest ⇒ String
Remote absolute path where the file should be copied to.
-
#force ⇒ :yes, ...
If set to C(yes), the file will only be transferred if the content is different than destination.,If set to C(no), the file will only be transferred if the destination does not exist.,If set to C(no), no checksuming of the content is performed which can help improve performance on larger files.
-
#local_follow ⇒ :yes, ...
This flag indicates that filesystem links in the source tree, if they exist, should be followed.
-
#remote_src ⇒ :yes, ...
If C(no), it will search for src at originating/master machine.,If C(yes), it will go to the remote/target machine for the src.
-
#src ⇒ String
Local path to a file to copy to the remote server; can be absolute or relative.,If path is a directory, it is copied (including the source folder name) recursively to C(dest).,If path is a directory and ends with “/”, only the inside contents of that directory are copied to the destination.
Methods inherited from Base
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
#content ⇒ String?
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 13 attribute :content |
#decrypt ⇒ :yes, ...
17 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 17 attribute :decrypt |
#dest ⇒ String
21 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 21 attribute :dest |
#force ⇒ :yes, ...
25 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 25 attribute :force |
#local_follow ⇒ :yes, ...
29 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 29 attribute :local_follow |
#remote_src ⇒ :yes, ...
33 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 33 attribute :remote_src |
#src ⇒ String
37 |
# File 'lib/ansible/ruby/modules/generated/windows/win_copy.rb', line 37 attribute :src |