community.general/lib/ansible/module_utils
Toshio Kuratomi 4b0aa1214c Ziploader
* Ziploader proof of concept (jimi-c)

* Cleanups to proof of concept ziploader branch:

* python3 compatible base64 encoding
* zipfile compression (still need to enable toggling this off for
  systems without zlib support in python)
* Allow non-wildcard imports (still need to make this recusrsive so that
  we can have module_utils code that imports other module_utils code.)
* Better tracebacks: module filename is kept and module_utils directory
  is kept so that tracebacks show the real filenames that the errors
  appear in.

* Make sure we import modules that are used into the module_utils files that they are used in.

* Set ansible version in a more pythonic way for ziploader than we were doing in module replacer

* Make it possible to set the module compression as an inventory var

This may be necessary on systems where python has been compiled without
zlib compression.

* Refactoring of module_common code:

* module replacer only replaces values that make sense for that type of
  file (example: don't attempt to replace python imports if we're in
  a powershell module).
* Implement configurable shebang support for ziploader wrapper
* Implement client-side constants (for SELINUX_SPECIAL_FS and SYSLOG)
  via environment variable.
* Remove strip_comments param as we're never going to use it (ruins line
  numbering)

* Don't repeat ourselves about detecting REPLACER

* Add an easy way to debug

* Port test-module to the ziploader-aware modify_module()

* strip comments and blank lines from the wrapper so we send less over the wire.

* Comments cleanup

* Remember to output write the module line itself in powershell modules

* for line in lines strips the newlines so we have to add them back in
2016-04-05 11:06:17 -07:00
..
__init__.py Add package file. 2013-10-26 11:10:54 -04:00
a10.py Ziploader 2016-04-05 11:06:17 -07:00
api.py common retry and rate limiting decorators for apis 2016-03-09 16:55:47 -05:00
basic.py Ziploader 2016-04-05 11:06:17 -07:00
cloudstack.py cloudstack: fix bug, api_secret always None 2016-03-31 00:04:42 +02:00
database.py just a few spelling error changes 2015-04-28 09:36:42 -04:00
ec2.py Ziploader 2016-04-05 11:06:17 -07:00
eos.py Ziploader 2016-04-05 11:06:17 -07:00
f5.py bigip changes as requested by bcoca and abadger: 2015-12-24 11:49:31 -08:00
facts.py Merge pull request #15086 from robinro/patch-2 2016-03-22 16:14:51 -07:00
gce.py Ziploader 2016-04-05 11:06:17 -07:00
ios.py Ziploader 2016-04-05 11:06:17 -07:00
iosxr.py Ziploader 2016-04-05 11:06:17 -07:00
ismount.py fix typo 2016-02-08 19:10:04 +01:00
junos.py Ziploader 2016-04-05 11:06:17 -07:00
known_hosts.py Add support ssh configs from /etc/openssh. 2016-01-14 13:01:49 +03:00
mysql.py Ziploader 2016-04-05 11:06:17 -07:00
netcfg.py Ziploader 2016-04-05 11:06:17 -07:00
nxos.py Ziploader 2016-04-05 11:06:17 -07:00
openstack.py Set type for OpenStack 'verify' param 2016-03-11 08:07:30 -05:00
openswitch.py Ziploader 2016-04-05 11:06:17 -07:00
powershell.ps1 Ziploader 2016-04-05 11:06:17 -07:00
rax.py Ziploader 2016-04-05 11:06:17 -07:00
redhat.py Remove some more unused stdlib deps. 2015-11-03 09:53:18 -08:00
service.py Remove some more unused stdlib deps. 2015-11-03 09:53:18 -08:00
shell.py Ziploader 2016-04-05 11:06:17 -07:00
splitter.py Insert newlines correctly when splitting literal blocks 2014-10-09 16:45:08 -05:00
urls.py Ziploader 2016-04-05 11:06:17 -07:00
vca.py Ziploader 2016-04-05 11:06:17 -07:00
vmware.py Ziploader 2016-04-05 11:06:17 -07:00