You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
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
6 years ago
..
cli Remove unused internal -a argument and functionality (#52602) 6 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix encoding issues with file paths. (#50830) 6 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 6 years ago
executor Move _handle_no_log_values() out of basic.py (#48628) 6 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils Python 2: accept both long and int for type=int (module options) (#53289) 6 years ago
modules To fix bug on switch port issue of L3 interfaces. (#53267) 6 years ago
parsing Fieldattribute inheritance with defaults (#50891) 6 years ago
playbook Become plugins (#50991) 6 years ago
plugins Fix inventory cache interface (#50446) 6 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Native Jinja2: raise undefined error immediately (#52237) 6 years ago
utils Move the arguments module into cli/ and context_objects into utils 6 years ago
vars Fix inventory cache interface (#50446) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Run unit tests in parallel. (#45812) 6 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago
test_context.py Save the command line arguments into a global context 6 years ago