community.general/lib/ansible/modules
Dmitry Ulyanov 1d6bc094cf Add http(s)_proxy support in yum module (#36800)
* added set_env_proxy function for setting proxy environment

Added set_env_proxy function, that set system http(s)_proxy
environment for fetching RPM if proxy settings set in yum.conf file
that fix Issue - #18979

* fix automatic field numbering specification

* changed if statement in setting http_proxy environment

* Change set_env_proxy function to function with decorator

That decorator set system proxy environment from yum.conf and revert
back to system configuration after fetching RPM

* Minor fix

- rename variable schem  to scheme
- change 'in' to 'startswith'

* change decorator set_env_proxy to decorating through contextmanager

- added import contextmanager from contextlib
- set_env_proxy now decorating through contextmanager
- fix http/https setting environment principle
2018-03-21 11:55:36 -05:00
..
cloud VMware: Handle exception gracefully (#36619) 2018-03-21 10:29:46 -04:00
clustering Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
commands Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
crypto crypto: Fix incorrect type for privatekey_passphrase (#36868) 2018-02-28 17:19:22 +01:00
database Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
files Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
identity Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
inventory Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
messaging Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
monitoring Clean up Grafana docs a bit (#37516) 2018-03-17 02:53:26 +01:00
net_tools Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
network Updated modules for Avi version 17.2.8 (#37344) 2018-03-21 02:47:09 -04:00
notification Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
packaging Add http(s)_proxy support in yum module (#36800) 2018-03-21 11:55:36 -05:00
remote_management ManageIQ module - provider refresh (#37573) 2018-03-21 05:34:24 -04:00
source_control Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
storage Added parameters to na_cdot_volume (#37202) 2018-03-16 15:14:06 -04:00
system Fix crash in py3: 'TypeError: a bytes-like object is required, not 'str' (#37504) 2018-03-20 14:33:14 -07:00
utilities Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
web_infrastructure letsencrypt: don't mask values specified in data (#37556) 2018-03-18 16:51:50 -04:00
windows added parameter for allowing prerelease packages in win_chocolatey for #33243 (#37205) 2018-03-21 15:46:40 +01:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00