community.crypto
community.crypto copied to clipboard
NO_PROXY option
SUMMARY
ISSUE TYPE
- Feature Idea
COMPONENT NAME
no_proxy
ADDITIONAL INFORMATION
There are parameters call proxy_host & proxy_port available with module, but there is no option available to bypass or not to use proxy for specific url's. As an alternative solution, there are environment variables for proxy eg. http_proxy, https_proxy & no_proxy which we can set at playbook & at task level. But crypto module not able to understand environment variable set in play/task.
Please add no_proxy option parameter in module eg. proxy_host & proxy_port.
Are you talking about the community.crypto.get_certificate module? That module does not use a proxy by default. It uses socket.create_connection() to connect if no proxy is configured with proxy_host and proxy_port.
Thanks for your output. I will be using proxy host and port parameter. But challenge is that local/intranet url is not whitekisted. Only internet urls will be whitelist in proxy. Hence requsted for exclusion parameter eg. No prpxy for intranet url or private ips.
Thanks,
Santosh Sonavale