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

205 views
Skip to first unread message

Bob Tanner

unread,
Apr 30, 2015, 3:14:47 AM4/30/15
to ansible...@googlegroups.com
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



ken.k...@gmail.com

unread,
Apr 30, 2015, 9:29:47 PM4/30/15
to ansible...@googlegroups.com
I'm having the same issue. Any luck?

Brian Coca

unread,
Apr 30, 2015, 9:35:21 PM4/30/15
to ansible...@googlegroups.com
some "win stuff" was, win_copy was not part of that stuff.


--
Brian Coca

Bob Tanner

unread,
Apr 30, 2015, 10:13:41 PM4/30/15
to ansible...@googlegroups.com


On Thursday, April 30, 2015 at 8:35:21 PM UTC-5, Brian Coca wrote:
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?

Kenneth Krog

unread,
Apr 30, 2015, 10:34:45 PM4/30/15
to ansible...@googlegroups.com
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.

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/eeMylVwiB8U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a5e35cd7-8669-49b8-b916-ef158b405ec1%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages