I think these might be the relevant module directories on my Mac: $ ls /Library/Python/2.7/site-packages/ansible/modules/core/windows __init__.py win_feature.ps1 win_get_url.py win_group.pyc win_ping.ps1 win_service.py win_stat.pyc __init__.pyc win_feature.py win_get_url.pyc win_msi.ps1 win_ping.py win_service.pyc win_user.ps1 setup.ps1 win_feature.pyc win_group.ps1 win_msi.py win_ping.pyc win_stat.ps1 win_user.py slurp.ps1 win_get_url.ps1 win_group.py win_msi.pyc win_service.ps1 win_stat.py win_user.pyc
AND $ ls /Library/Python/2.7/site-packages/ansible/modules/extras/windows __init__.py win_chocolatey.ps1 win_chocolatey.pyc win_updates.py __init__.pyc win_chocolatey.py win_updates.ps1 win_updates.pyc On Wednesday, June 10, 2015 at 7:19:31 AM UTC-5, Slim Slam wrote: > > I've been installing Ansible using pip, e.g. "sudo pip install --upgrade > ansible" > > By the way, if the only task I have is this one: > > tasks: > - win_chocolatey: > name: PSWindowsUpdate > state: present > > I get this error: > > ERROR: state is not a legal parameter in an Ansible task or handler > > I can't get any of the Windows tasks to work, but the Linux stuff works > fine. > > On Wednesday, June 10, 2015 at 12:54:07 AM UTC-5, J Hawkesworth wrote: >> >> Actually win_copy and win_file were not included in 1.9.1. They are in >> 1.9.2 rc1 but there were a couple of issues with win_copy for which I have >> made fixes. I hope these will be incorporated into 1.9.2 rc2. >> >> Jon > > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ac41866b-c35c-4805-905c-6afca83fb076%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.