win_get_url - Fix proxy_url not used correctly (#58738)
This commit is contained in:
parent
60fb9fc208
commit
48a518d9a3
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