From fdcc2c233ea65e323de7253192d5b67c2cb8c2ee Mon Sep 17 00:00:00 2001 From: Andreas Mosti Date: Tue, 22 Jan 2019 17:39:27 +0100 Subject: [PATCH] Clarify usage of version-variable in win_chocolatey documentation (#50769) removed trailing whitespace, corrected text --- lib/ansible/modules/windows/win_chocolatey.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/windows/win_chocolatey.py b/lib/ansible/modules/windows/win_chocolatey.py index 6e4cf71f5c0..1ffb668cd70 100644 --- a/lib/ansible/modules/windows/win_chocolatey.py +++ b/lib/ansible/modules/windows/win_chocolatey.py @@ -195,6 +195,8 @@ options: - Specific version of the package to be installed. - When I(state) is set to C(absent), will uninstall the specific version otherwise all versions of that package will be removed. + - If a different version of package is installed, I(state) must be C(latest) + or I(force) set to C(yes) to install the desired version. - Provide as a string (e.g. C('6.1')), otherwise it is considered to be a floating-point number and depending on the locale could become C(6,1), which will cause a failure.