-
- Downloads
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.
Showing
- roles/bootstrap-os/tasks/bootstrap-centos.yml 6 additions, 7 deletionsroles/bootstrap-os/tasks/bootstrap-centos.yml
- roles/container-engine/docker/tasks/main.yml 5 additions, 4 deletionsroles/container-engine/docker/tasks/main.yml
- roles/container-engine/docker/templates/rh_docker.repo.j2 1 addition, 0 deletionsroles/container-engine/docker/templates/rh_docker.repo.j2
Please register or sign in to comment