ceph-ansible/roles/ceph-container-common
Dimitri Savineau bda3581294 container: add optional http(s) proxy option
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>
2020-09-16 06:52:26 +02:00
..
defaults docker-common: rename role 2018-11-12 10:51:48 +01:00
meta allow using ansible 2.8 2019-04-17 16:57:37 +02:00
tasks container: add optional http(s) proxy option 2020-09-16 06:52:26 +02:00
README.md roles: introduce `ceph-container-engine` role 2019-05-22 13:02:10 +02:00

README.md

Ansible role: ceph-container-common

Documentation is available at http://docs.ceph.com/ceph-ansible/.