Adding option to disable globally applying a proxy to etc/yum.conf (#6828)

* Adding option to disable gloablly applying a proxy to etc/yum.conf

* Change made to proxy_yum_globaly basedon reviewer feedback

* fix trailing spaces in ymllint
This commit is contained in:
wand3r3r
2020-10-21 02:22:19 -04:00
committed by GitHub
parent 03f316e7a2
commit f323d70c0f
5 changed files with 14 additions and 0 deletions

View File

@@ -78,6 +78,7 @@
state: "{{ http_proxy | default(False) | ternary('present', 'absent') }}"
no_extra_spaces: true
become: true
when: not skip_http_proxy_on_os_packages
# libselinux-python is required on SELinux enabled hosts
# See https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#managed-node-requirements