win_copy - Ansible
docs.ansible.com › ansible › 2Dec 01, 2020 · win_copy - Copies files to remote locations on windows hosts. — Ansible Documentation. win_copy - Copies files to remote locations on windows hosts. You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE).
ansible.windows/ansible.windows.win_copy_module.rst at main ...
github.com › ansible- name: Copy a single file ansible.windows.win_copy: src: /srv/myfiles/foo.conf dest: C:\Temp\renamed-foo.conf - name: Copy a single file, but keep a backup ansible.windows.win_copy: src: /srv/myfiles/foo.conf dest: C:\Temp\renamed-foo.conf backup: yes - name: Copy a single file keeping the filename ansible.windows.win_copy: src: /src/myfiles/foo.conf dest: C:\Temp\ - name: Copy folder to C:\Temp (results in C:\Temp\temp_files) ansible.windows.win_copy: src: files/temp_files dest: C:\Temp ...
win_copy - Ansible
https://docs.ansible.com/ansible/2.3/win_copy_module.html01.12.2020 · -name: Copy a single file win_copy: src: /srv/myfiles/foo.conf dest: c:\Temp\foo.conf-name: Copy files/temp_files to c:\temp win_copy: src: files/temp_files/ dest: c:\Temp-name: Copy a single file where the source is on the remote host win_copy: src: C:\temp\foo.txt dest: C:\ansible\foo.txt remote_src: True-name: Copy a folder recursively …