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
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, #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.
14 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_copy.rb', line 14 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.
10 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_copy.rb', line 10 attribute :src |