win_chocolatey: Fix state=latest when absent (#23063)

When using state=latest with the package not being installled, Ansible complains that the package is not installed and fails the task.
Whereas the expected behaviour is to install the package when it is missing.

This PR fixes this behaviour.
This commit is contained in:
Dag Wieers 2017-03-29 03:30:51 +02:00 committed by Matt Davis
parent 521fa9b458
commit 28704114b3

Diff content is not available