kubespray/roles/container-engine/docker/templates
Denis Kadyshev 7d1ab3374e
Proxy fixes (#5869)
* Fix proxy and module_hotfixes

On CentOS 8 with proxy ansible render inline `proxy` and `module_hotfixes` options.

For example:

`proxy=http://127.0.0.1:3128module_hotfixes=True`

But expected result:

```
proxy=http://127.0.0.1:3128
module_hotfixes=True
```

* Use ini_file module for work with ini files

* Prevent duplicates proxy= option in /etc/yum.conf

Module `lineinfile` is weak, use most powerful module `ini_file` and add or remove `proxy=` when `http_proxy` is defined or not.
2020-04-09 01:25:44 -07:00
..
docker-dns.conf.j2 Split deploy steps in separate playbooks: part1 (#3451) 2018-10-09 19:14:33 -07:00
docker-options.conf.j2 configure docker_options directly with template (#4912) 2019-07-21 00:12:53 -07:00
docker-orphan-cleanup.conf.j2 Added some minor changes to the docker orphan clean up process. (#3657) 2018-11-06 16:50:19 -08:00
docker.service.j2 Fix conntrack for opensuse and docker support (#5880) 2020-04-08 07:37:44 -07:00
fedora_docker.repo.j2 disable gpgcheck if gpgkey is empty (#5621) 2020-03-30 01:13:53 -07:00
http-proxy.conf.j2 Split deploy steps in separate playbooks: part1 (#3451) 2018-10-09 19:14:33 -07:00
rh_docker.repo.j2 Proxy fixes (#5869) 2020-04-09 01:25:44 -07:00