September 2018
Beginner to intermediate
214 pages
5h 53m
English
These are the modules that are responsible for transferring files to Windows remote hosts. Each has its own way to get the files to their destination. The win_copy module will copy the file either from the local machine or the remote host to a specific location in the remote hosts. The win_robocopy module works like rsync to synchronize the contents of two folders within the remote host. It can be very handy as a backup solution. The win_get_url module gets a URL as input to download the files into the specified location.
The following playbook shows some example cases:
- name: copy a file from one location to other within the Windows hosts win_copy: src: C:\scripts\PSscript.ps1 ...
Read now
Unlock full access