You're correct. Even though my YAML is valid, the indent level causes Ansible to produce that error.
Thanks for the tip. J On Thursday, July 9, 2015 at 4:24:53 PM UTC-5, Michael Legleux wrote: > > Not the correct indent level? > > > tasks: > - name: Get Powershell remoting script > win_chocolatey: > name: PSWindowsUpdate > state: present > > On Thursday, July 9, 2015 at 11:38:22 AM UTC-7, Slim Slam wrote: >> >> Ansible 1.9.2 on MacOSX. >> >> https://github.com/ansible/ansible/issues/11539 >> >> This code: >> >> tasks: >> - name: Get Powershell remoting script >> win_chocolatey: >> name: PSWindowsUpdate >> state: present >> >> responds with: >> >> ERROR: state is not a legal parameter in an Ansible task or handler >> >> the documentation for win_chocolatey says: >> >> New in version 1.9 >> >> >> -- 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/68b6c8bf-cdac-444a-b9f7-066433567818%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
