community.general/lib/ansible/plugins/action
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
..
__init__.py Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
add_host.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
aireos.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
aruba.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
asa.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
assemble.py Close all open filehandle (#50544) 2019-01-11 10:14:08 -05:00
assert.py assert: allow list of strings in msg or failed_msg (#50531) 2019-03-05 11:12:17 +05:30
async_status.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
aws_s3.py
bigip.py Add backup filename and dir path option for config network modules (#50801) 2019-01-24 09:36:16 +05:30
bigiq.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
ce.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
ce_template.py
cli_command.py
cli_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
cnos.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
command.py
copy.py Add coherency between check and normal mode for copy plugin action see issue #24633 (#51582) 2019-02-01 13:47:23 +10:00
debug.py debug: prevent failing when printing var=rc (#52074) 2019-02-19 15:24:11 -05:00
dellos6.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
dellos9.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
dellos10.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
edgeos_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
enos.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
eos.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
exos_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
fail.py
fetch.py
fortios_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
gather_facts.py Strip None values from mod_args in gather_facts action (#53758) 2019-03-14 10:19:04 -05:00
group_by.py
include_vars.py include_vars: include main.yml (#51926) 2019-03-08 10:03:01 +05:30
ios.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
iosxr.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
ironware.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
junos.py Fix issue in junos and bigip action plugins (#50636) 2019-01-08 08:43:15 +05:30
net_banner.py
net_base.py Fix various sonarcloud issues 2019-02-15 07:19:04 -08:00
net_get.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
net_interface.py
net_l2_interface.py
net_l3_interface.py
net_linkagg.py
net_lldp.py
net_lldp_interface.py
net_logging.py
net_ping.py
net_put.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
net_static_route.py
net_system.py
net_user.py
net_vlan.py
net_vrf.py
netconf.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
network.py Fix network config module invalid src option error (#52912) 2019-02-25 16:46:33 +05:30
normal.py
nos_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
nxos.py Fix nxos action plugin for nxos_install_os (#53768) 2019-03-18 09:14:40 +05:30
onyx_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
package.py
patch.py
pause.py
raw.py
reboot.py Reboot - add parameter for paths to search for shutdown command (#51194) 2019-02-28 13:36:33 -08:00
script.py Add support for Windows hosts in the SSH connection plugin (#47732) 2019-03-07 16:38:02 -08:00
service.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
set_fact.py
set_stats.py
shell.py
slxos_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
sros.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
synchronize.py fix synchronize handling of encrypted hosts on delegation (#49460) 2018-12-04 22:33:58 -08:00
telnet.py
template.py fix locals not getting updated (#41798) 2019-03-07 13:38:07 -05:00
unarchive.py
uri.py
voss_config.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
vyos.py Fix backup issue in network config modules and network action plugins common code refactor (#50301) 2019-01-04 16:06:13 +05:30
wait_for_connection.py Add support for Windows hosts in the SSH connection plugin (#47732) 2019-03-07 16:38:02 -08:00
win_copy.py Windows: Add backup parameter to modules (#50033) 2019-02-25 11:37:25 +10:00
win_reboot.py win_reboot - Fix rc validation when using psrp and add extra docs (#53711) 2019-03-13 10:43:02 +10:00
win_template.py
win_updates.py win_updates - fix category return value to be a list (#51001) 2019-01-18 05:35:10 +10:00
yum.py