I have a custom windows module that I have been using in my playbooks and I 
just went to update to the version 1.8.2 ( installed with pip ). I went to 
run a playbook that I run all the time and got this error:
/usr/local/bin/ansible-playbook -i ./core/inventory.py --module-path 
./modules/ ./main.yml
ERROR: win_exe is not a legal parameter in an Ansible task or handler

My module is in a file called win_exe.ps1 ( it's basically just runs a 
windows command but adds in support for the creates keyword ) located 
./modules. I changed the playbook to specify 

- name: install packages
  win_exe.ps1:
    exe: 'C:\Users\admin_user\Downloads\myapp.exe'
    ArgumentList: '/w /S /v"/l*v 
\"C:\Users\admin_user\AppData\Local\Temp\myapp.log\" /qn"'
    creates: '{{myapp_root}}/sbin/myapp.exe'


and now it works. I was just wondering whether this is expected and when to 
expect to require a suffix and when not to expect to need a suffix. 
Previously I was running ansible version 1.8.

Thanks,
Tony

-- 
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/a15215e0-1b31-49ee-961d-464d2914b72f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to