mirror of https://github.com/ansible/ansible.git
win_chocolatey: Fix state=latest when absent (#23041)
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.
(cherry picked from commit 521fa9b458
)
pull/23093/head
parent
9785d5b2fb
commit
d9a6714cb9
Loading…
Reference in New Issue