community.general/lib/ansible
Adrian Likins b3b598c835 Rhn register misc fixes (#20724)
* Remove monkeypatching of rhn config in rhn_register

rhn_register.Rhn() was doing some complicated monkeypatching of
the up2date_client.config.Config() class to add a default config
value. Since that was only used in one place, remove the monkeypatch
and handle the single default case.

That case was 'server_url' option, so replace it with a Rhn.server_url
property. Also handle the error case when no server url is provided.

* refactoring
* flatten some indention levels
* add 'enable_eus' to module doc
* set enable_eus var and use it directly
* style/pep8/etc cleanups
* some import cleanups

types was unused, os/re were from module_utils * import

* remove * import from module_utils.redhat
* remove * imports from module_utils.base
* remove unused Rhn._subscribe method
* cleanup pep8 style stuff
* remove a unused default mutable arg from Rhn.subscribe

Rhn.subscribe() only gets called in one place, and thats
with channels from module_params which default to [] and
are typed as a list.
2017-01-31 15:23:27 -05:00
..
cli PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
compat PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
config
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor reworded conditional skipping to not imply error 2017-01-31 13:33:29 -05:00
galaxy PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
inventory PEP 8 W291 whitespace cleanup. 2017-01-27 17:08:02 -08:00
module_utils Add Source Mage GNU/Linux facts (#19671) 2017-01-31 13:25:36 -05:00
modules Rhn register misc fixes (#20724) 2017-01-31 15:23:27 -05:00
parsing Add representer to AnsibleDumper for AnsibleUnsafeText 2017-01-19 10:10:07 -06:00
playbook PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
plugins PEP 8 cleanup. 2017-01-31 10:16:59 -08:00
template PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
utils PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
vars PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Add pipeline-ish method using dd for file transfer over SSH (#18642) 2017-01-19 12:31:14 -05:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00