References:
https://groups.google.com/forum/#!topic/ansible-devel/Jl5qP73CiKo
Place this copy.ps1 to
/usr/lib/python2.6/site-packages/ansible/modules/core/windows/copy.ps1
# https://gist.github.com/tkinz27/fd92ba9af0e0309614ee
Tho it's probably not needed if you can use the win_url module or
Can you share your code that works an how did you did it?
On Saturday, December 20, 2014 at 10:03:54 AM UTC-7, Jeffrey Liu wrote:
>
> Thanks. I found out that win_copy has a pull request about to be merged
> into 1.9
>
> I also found a resource for copy.ps1 which works -- I don't need all the
>
Thanks. I found out that win_copy has a pull request about to be merged
into 1.9
I also found a resource for copy.ps1 which works -- I don't need all the
bells and whistles and a rudimentary copy function is all that's needed for
now.
Although, for the purposes of just running a powershell scr
Ansible 1.8.x does not support the copy module for windows hosts. A
win_copy module was just merged into devel (which will become 1.9):
https://github.com/ansible/ansible-modules-core/pull/384
https://github.com/ansible/ansible/pull/9611
On Tuesday, December 16, 2014, Jeffrey Liu wrote:
> Hi A
Hi All,
I'm running Ansible 1.8.2 on a CentOS 6.6 server.
I'm trying to copy a file to a windows host, but the copy module fails.
The weird thing is that I do see that it does PUT the file over to the
remote windows host, but it fails when it tries to execute the powershell
to rename the fil