Ansible copy arbitrary file to Windows servers
Just your standard arbitrary ansible task, but with three(!) slashes for escaping:
ansible -i hosts-qa1 -m ansible.windows.win_copy -a "src=binary.exe dest='d:\\\apps\\\bin'" webservers -v -k
Just your standard arbitrary ansible task, but with three(!) slashes for escaping:
ansible -i hosts-qa1 -m ansible.windows.win_copy -a "src=binary.exe dest='d:\\\apps\\\bin'" webservers -v -k