win_copy is a bad idea. WinRM is simply not built for transferring binary files. The recommendation is to have the file accessible on a UNC path/url and then use win_package to get it onto the windows machine.
On Thursday, June 18, 2015 at 4:55:52 AM UTC+2, benno joy wrote: > > Hi, > > Did yo try using the win_copy module to copy across the package and > installing it via win_msi module or your own script to install it issued > via the script module. > > > > On Wed, Jun 17, 2015 at 10:23 PM, <[email protected] <javascript:>> > wrote: > >> Hi, >> >> I am trying to write a playbook which will install windows software(exe >> files) on windows client machine from the control machine (software is on >> control machine) >> >> I want to either copy the software onto Windows machine and then install >> using ansible or directly install on the windows machine from the control. >> >> Please help, i tried to search in google for help but no luck, >> >> Much appreciated for help. >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/89c6dec4-70a1-42bb-9592-56f5c5727806%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/89c6dec4-70a1-42bb-9592-56f5c5727806%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/db09e94d-3832-4617-8558-3d95f3ac8e29%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
