kubespray/roles/container-engine/docker/tasks
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_plugin.yml Add support for Docker plugins (#4934) 2019-07-08 06:44:35 -07:00
main.yml Proxy fixes (#5869) 2020-04-09 01:25:44 -07:00
pre-upgrade.yml Fedora CoreOS support (#5657) 2020-03-17 03:12:21 -07:00
set_facts_dns.yml Fix getting nameserver and search for /etc/resolv.conf with comments (#5197) 2019-10-16 04:27:40 -07:00
systemd.yml Fedora CoreOS support (#5657) 2020-03-17 03:12:21 -07:00