win_get_url - Fix proxy_url not used correctly
(cherry picked from commit a21d40474c636edb737f99aa98d70701badddc09)
This commit is contained in:
parent
5fb2a0ae2d
commit
3516406d59
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/win_get_url-proxy-not-used.yml
Normal file
2
changelogs/fragments/win_get_url-proxy-not-used.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "win_get_url - Fix proxy_url not used correctly (https://github.com/ansible/ansible/issues/58691)"
|
|
@ -108,7 +108,7 @@ Function Invoke-AnsibleWebRequest {
|
|||
|
||||
if (-not $UseProxy) {
|
||||
$web_request.Proxy = $null
|
||||
} elseif ($ProxyUri) {
|
||||
} elseif ($Proxy) {
|
||||
$web_request.Proxy = $Proxy
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue