mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
win_chocolatey: always return the rc return value (#41883)
This commit is contained in:
@@ -36,6 +36,7 @@ $proxy_password = Get-AnsibleParam -obj $params -name "proxy_password" -type "st
|
||||
|
||||
$result = @{
|
||||
changed = $false
|
||||
rc = 0
|
||||
}
|
||||
|
||||
Function Chocolatey-Install-Upgrade
|
||||
|
||||
@@ -211,7 +211,7 @@ command:
|
||||
sample: choco.exe install -r --no-progress -y sysinternals --timeout 2700 --failonunfound
|
||||
rc:
|
||||
description: The return code from the chocolatey task.
|
||||
returned: changed
|
||||
returned: always
|
||||
type: int
|
||||
sample: 0
|
||||
stdout:
|
||||
|
||||
Reference in New Issue
Block a user