mirror of https://github.com/ceph/ceph-ansible.git
fbc375387a
When using a http(s) proxy with either docker or podman we can rely on
the HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment variables.
But with ansible, even if those variables are defined in a source file
then they aren't loaded during the container pull/login tasks.
This implements the http(s) proxy support with docker/podman.
Both implementations are different:
1/ docker doesn't rely en the environment variables with the CLI.
Thos are needed by the docker daemon via systemd.
2/ podman uses the environment variables so we need to add them to
the login/pull tasks.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1876692
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
all.yml.sample | ||
ceph-fetch-keys.yml.sample | ||
clients.yml.sample | ||
docker-commons.yml.sample | ||
factss.yml.sample | ||
iscsigws.yml.sample | ||
mdss.yml.sample | ||
mgrs.yml.sample | ||
mons.yml.sample | ||
nfss.yml.sample | ||
osds.yml.sample | ||
rbdmirrors.yml.sample | ||
realm.yml.sample | ||
rgwloadbalancers.yml.sample | ||
rgws.yml.sample | ||
rhcs.yml.sample | ||
zone.yml.sample |