win_chocolatey missing/broken in Ansible 1.9.2?

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

Not the correct indent level?

tasks:
- name: Get Powershell remoting script
win_chocolatey:
name: PSWindowsUpdate
state: present

You’re correct. Even though my YAML is valid, the indent level causes Ansible to produce that error.

Thanks for the tip.

J