community.general/lib/ansible/plugins
Matt Davis f86345f777
Collection content loading (#52194)
* basic plugin loading working (with many hacks)

* task collections working

* play/block-level collection module/action working

* implement PEP302 loader

* implicit package support (no need for __init.py__ in collections)
* provides future options for secure loading of content that shouldn't execute inside controller (eg, actively ignore __init__.py on content/module paths)
* provide hook for synthetic collection setup (eg ansible.core pseudo-collection for specifying built-in plugins without legacy path, etc)

* synthetic package support

* ansible.core.plugins mapping works, others don't

* synthetic collections working for modules/actions

* fix direct-load legacy

* change base package name to ansible_collections

* note

* collection role loading

* expand paths from installed content root vars

* feature complete?

* rename ansible.core to ansible.builtin

* and various sanity fixes

* sanity tweaks

* unittest fixes

* less grabby error handler on has_plugin

* probably need to replace with a or harden callers

* fix win_ping test

* disable module test with explicit file extension; might be able to support in some scenarios, but can't see any other tests that verify that behavior...

* fix unicode conversion issues on py2

* attempt to keep things working-ish on py2.6

* python2.6 test fun round 2

* rename dirs/configs to "collections"

* add wrapper dir for content-adjacent

* fix pythoncheck to use localhost

* unicode tweaks, native/bytes string prefixing

* rename COLLECTION_PATHS to COLLECTIONS_PATHS

* switch to pathspec

* path handling cleanup

* change expensive `all` back to or chain

* unused import cleanup

* quotes tweak

* use wrapped iter/len in Jinja proxy

* var name expansion

* comment seemingly overcomplicated playbook_paths resolution

* drop unnecessary conditional nesting

* eliminate extraneous local

* zap superfluous validation function

* use slice for rolespec NS assembly

* misc naming/unicode fixes

* collection callback loader asks if valid FQ name instead of just '.'
* switch collection role resolution behavior to be internally `text` as much as possible

* misc fixmes

* to_native in exception constructor
* (slightly) detangle tuple accumulation mess in module_utils __init__ walker

* more misc fixmes

* tighten up action dispatch, add unqualified action test

* rename Collection mixin to CollectionSearch

* (attempt to) avoid potential confusion/conflict with builtin collections, etc

* stale fixmes

* tighten up pluginloader collections determination

* sanity test fixes

* ditch regex escape

* clarify comment

* update default collections paths config entry

* use PATH format instead of list

* skip integration tests on Python 2.6

ci_complete
2019-03-28 10:41:39 -07:00
..
action Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
become become: Add missing documentation for pfexec, dzdo and machinectl (#53314) 2019-03-06 14:35:15 -05:00
cache Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
callback standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
cliconf Exos httpapi (#54405) 2019-03-27 14:44:04 +01:00
connection standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
doc_fragments standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
filter fix issue in random_mac filter with short prefixes (#53928) 2019-03-26 13:49:23 -04:00
httpapi qradar httpapi plugin (#52690) 2019-03-27 11:18:13 -04:00
inventory standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
lookup standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
netconf Fix netconf plugin dispatch response (#54326) 2019-03-26 10:23:26 +05:30
shell Add support for Windows hosts in the SSH connection plugin (#47732) 2019-03-07 16:38:02 -08:00
strategy Template run_once for handlers (#54030) 2019-03-20 14:46:19 +01:00
terminal Fixes #53277 (#53285) 2019-03-26 18:10:45 +05:30
test Simplify regex filter code (#50202) 2019-02-03 15:10:16 -05:00
vars Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
__init__.py Misc typo fixes (#53284) 2019-03-04 15:30:18 -05:00
loader.py Collection content loading (#52194) 2019-03-28 10:41:39 -07:00