Support running behind a proxy network #18

Closed
opened 2024-04-05 11:02:36 +00:00 by benie · 1 comment
Owner

When behind a proxy network certian Ansible modules (uri/get_url) need to be told how to make use of the proxy network (http_proxy/https_proxy environment variable). Setting these in the shell environment which invokes ansible-playbook does not appear to be enough, instead each module invokation needs to be augmented with the followin:

  environment:
    http_proxy: <PROXY_URL>
    https_proxy: <PROXY_URL>
When behind a proxy network certian Ansible modules (`uri`/`get_url`) need to be told how to make use of the proxy network (`http_proxy`/`https_proxy` environment variable). Setting these in the shell environment which invokes `ansible-playbook` does not appear to be enough, instead each module invokation needs to be augmented with the followin: ```yaml environment: http_proxy: <PROXY_URL> https_proxy: <PROXY_URL> ```
Author
Owner

Fixed in 5309683d94.

Fixed in 5309683d94bd54d31c14d9282e4d9414cbefd613.
benie closed this issue 2024-07-07 20:21:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: config/local#18
No description provided.