ansible/test/units/plugins
Sloane Hertel 9687879840
Fix inventory cache interface (#50446)
* Replace InventoryFileCacheModule with a better developer-interface

Use new interface for inventory plugins with backwards compatibility

Auto-update the backing cache-plugin if the cache has changed after parsing the inventory plugin

* Update CacheModules to use the config system and add a deprecation warning if they are being imported directly rather than using cache_loader

* Fix foreman inventory caching

* Add tests

* Add integration test to check that fact caching works normally with cache plugins using ansible.constants and inventory caching provides a helpful error for non-compatible cache plugins

* Add some developer documentation for inventory and cache plugins

* Add user documentation for inventory caching

* Add deprecation docs

* Apply suggestions from docs review

* Add changelog
2019-03-06 12:12:35 -06:00
..
action Python interpreter discovery (#50163) 2019-02-27 23:52:02 -08:00
cache Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
callback Fix for callback plugins on Python3 when a module returns dictionary keys that aren't strings 2018-12-04 23:03:48 -08:00
cliconf Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
connection Update connection plugins to use correct, non-deprecated, methods (#52038) 2019-02-11 13:44:54 -06:00
filter ipaddr filter - return a network address when given an address with /32 subnet (#47539) 2018-11-08 11:49:42 -05:00
httpapi Checkpoint httpapi plugin (#49929) 2019-01-07 14:02:29 +01:00
inventory Add keyed_groups feature (#52045) 2019-03-05 12:34:34 -06:00
loader_fixtures Don't cache duplicate plugin names (#34420) 2018-01-04 16:47:23 -06:00
lookup Add laps_password lookup for retrieving a Windows LAPS Password (#52012) 2019-02-25 05:30:12 +10:00
shell Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
strategy tqm._initialize_notified_handlers() is noop now (#50713) 2019-01-09 10:15:11 -05:00
terminal Add unit tests for junos terminal (#47103) 2018-10-16 15:14:38 +05:30
vars Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_plugins.py Misc typo fixes (#49816) 2018-12-14 15:12:58 +05:30