ERROR: win_copy is not a legal parameter in an Ansible task or handler

I thought the win_* stuff was merged into 1.9?

$ ansible --version
ansible 2.0.0 (devel b08e35bb8a) last updated 2015/04/29 09:50:21 (GMT -500)
lib/ansible/modules/core: (detached HEAD e95c0b2df3) last updated 2015/04/30 02:06:46 (GMT -500)
lib/ansible/modules/extras: (detached HEAD 764a0e26b6) last updated 2015/04/30 02:06:48 (GMT -500)
v2/ansible/modules/core: (detached HEAD 34784b7a61) last updated 2015/04/30 02:06:49 (GMT -500)
v2/ansible/modules/extras: (detached HEAD 764a0e26b6) last updated 2015/04/30 02:06:50 (GMT -500)
configured module search path = None

I’m probably just doing something wrong.

  • name: Copy PinnedApplications.ps1 to module path
    win_copy: src=PinnedApplications.ps1 dest=“C:\Users\Administrator\Documents\WindowsPowerShell\Modules”

$ ansible-playbook --ask-pass -i windows-testing windows-workstations.yml
ERROR: win_copy is not a legal parameter in an Ansible task or handler

I’m having the same issue. Any luck?

some "win stuff" was, win_copy was not part of that stuff.

So the posts where I saw people using action scripts (as part of win_copy?), that is outside the normal git development tree? I’d need to merge in the PR that is listed in those posts?

OK, so that is not even really ansible code?
I also saw some stuff about using winexe as a possible custom written module. Might consider that until win_copy is out.