1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/plugins/cache
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
..
__init__.py Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
base.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
jsonfile.py Fix _uri option documentation for cache plugins that expect strings 2018-09-25 09:57:03 -04:00
memcached.py Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
memory.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
mongodb.py Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
pickle.py Fix _uri option documentation for cache plugins that expect strings 2018-09-25 09:57:03 -04:00
redis.py Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
yaml.py Fix _uri option documentation for cache plugins that expect strings 2018-09-25 09:57:03 -04:00