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/core/windows/win_copy.rb
Overview
The M(win_copy) module copies a file on the local box to remote windows locations.
Instance Method Summary collapse
-
#dest ⇒ String
Remote absolute path where the file should be copied to.
-
#src ⇒ String?
Local path to a file to copy to the remote server; can be absolute or relative.
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
#dest ⇒ String
Returns Remote absolute path where the file should be copied to. If src is a directory, this must be a directory too. Use \ for path separators.
15 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_copy.rb', line 15 attribute :dest |
#src ⇒ String?
Returns Local path to a file to copy to the remote server; can be absolute or relative. If path is a directory, it is copied recursively. In this case, if path ends with “/”, only inside contents of that directory are copied to destination. Otherwise, if it does not end with “/”, the directory itself with all contents is copied. This behavior is similar to Rsync.
11 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_copy.rb', line 11 attribute :src |