community.general/lib/ansible
Toshio Kuratomi 0633f73faf Fix loader for filters (#37748)
* Fix loading of filter and test plugins

Filter and test plugins are different than other plugins in that they
can have many plugins in a single file.  Therefore they need to operate
a little differently.  They need to have all of the potential files
returned.  Then the caller takes care of passing those onto jinja2 in
order for jinja2 to make use of them.

This problem was (most recently) introduced with f921369445

This commit also restructures how we deduplicate plugins to take paths
into account.  If we want to start scoping which set of modules are
loaded (due to roles, for instance) we'll need to hang on to the path
information.

* add integration test for override

* Fix style checks for bcoca code

* Implement jinja2 plugin loader as a subclass

Having a subclass allows us to customize the overriding of jinja
plugins.  We can then move common parts of common code into the Loader.
2018-03-22 17:23:10 -04:00
..
cli Compare byte strings to byte strings 2018-03-20 12:04:05 -07:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config adds fix for terminal plugins 2018-03-05 08:54:40 -05:00
errors Make AnsibleActionDone a private exception 2018-01-22 23:36:34 -08:00
executor Connection error messages are unsafe: wrap them (#37329) 2018-03-13 16:20:24 -07:00
galaxy Ansible Galaxy: skel for network role #37241 (#37251) 2018-03-09 13:31:27 -05:00
inventory Fixes #32146 Fixes reconcile inventory to correctly remove hosts from ungrouped 2018-03-20 15:37:39 -04:00
module_utils Support MSI for ansible on Azure resources (#36634) 2018-03-22 06:01:44 +10:00
modules [aws] Register scalable target prior to creating/deleting a scaling policy (#35632) 2018-03-22 16:45:55 -04:00
parsing Remove dead code 2018-03-12 12:13:19 -07:00
playbook Fix name parameter templating in include_role module (#36372) 2018-03-20 14:01:48 -04:00
plugins Fix loader for filters (#37748) 2018-03-22 17:23:10 -04:00
template Fix loader for filters (#37748) 2018-03-22 17:23:10 -04:00
utils Support MSI for ansible on Azure resources (#36634) 2018-03-22 06:01:44 +10:00
vars Fix ansible_lo being used inside of ansible_facts 2018-03-13 12:05:14 -04:00
__init__.py
constants.py Move module_set_locale and module_lang back to global 2018-01-22 18:38:15 -08:00
release.py Fix version in lib/ansible/release.py 2018-02-09 04:47:31 -08:00