Dear group,
i’m trying my first baby steps in ansible, and i’m in trouble w/ regard to proxy setup. The maven playbook i’m reusing from the galaxy seems not to respect the existing environment variables http_proxy/ https_proxy/ ftp_proxy. Internally, the playbook issues a get_url to fetch the distribution. I’ve searched the docs up and down and up again, but cannot get it working.
I’m operating in the suggested directory layout (group_vars, host_vars), and configured the hosts that require a proxy using the ‘environment:’ key to no avail. I’m not sure
(a) why does the maven playbook, respectively get_url not pick up the default settings from http_proxy
(b) what is the easiest way to configure unusable to use a proxy for certain hosts
I’m also having a hard time debugging what is going on. ‘-m setup’ shows the environment, which includes the proxy settings, but how can i check that the maven playbook picks up proxy settings, and from where?
Any hint is greatly appreciated.