[get_url] fails with DNS errors when http_proxy and https_proxy are undefined and omitted #82433
Open
1 task done
Labels
affects_2.16
bug
This issue/PR relates to a bug.
data_tagging
module
This issue/PR relates to a module.
Summary
ansible.builtin.get_url does not ignore proxy environment variables set with ... | default(None) | default(omit) filters and fails with irrelevant "Temporary failure in name resolution" error message.
It should ignore proxy settings if not set as ansible.builtin.apt and other modules do.
Issue Type
Bug Report
Component Name
get_url
Ansible Version
Configuration
OS / Environment
Steps to Reproduce
https://github.com/ansible-collections/community.zabbix/blob/main/roles/zabbix_agent/tasks/Debian.yml
Filename: url_get_test.yml
Expected Results
Achieved when the proxy vars are commented out
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: