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/lib/ansible
Harm Geerts 9bd70045c9
Fix BaseFileCacheModule#keys to respect prefix (#72789)
* Fix BaseFileCacheModule#keys to respect prefix

Change:
- Previously BaseFileCacheModule#keys would return keys with the cache
  prefix. These keys are impossible to retrieve from the cache without
  removing the prefix or using the cache without a prefix.
  Now it removes the prefix from the key and only returns keys that
  share the same prefix as the cache.

Test Plan:
- New unit tests

* Add explicit BaseFileCacheModule#keys test

Test that files that do not match the cache prefix are ignored.
Test that the prefix is removed from the cache key.
3 years ago
..
_vendor Rename to ansible-core (#72594) 4 years ago
cli Add plugin config lists (#49627) 3 years ago
collections saner path dir management (#72648) 3 years ago
compat Updated bundled libraries (#70418) 4 years ago
config Fix world readable setting (#74324) 3 years ago
errors Correctly set path and fullpath for template vars (#73924) 3 years ago
executor Fix missing delegate display (#74370) 3 years ago
galaxy Abstract away libyaml details into yaml utils (#72607) 3 years ago
inventory inventory: misc typo fixes (#73695) 3 years ago
module_utils Remove deprecated `common.removed` module_util. 3 years ago
modules apt_key - correct error message about the failure to import a 'gpg' (#74476) 3 years ago
parsing Abstract away libyaml details into yaml utils (#72607) 3 years ago
playbook Only check if play.hosts is a template when the play hasn't been finalized (#73941) 3 years ago
plugins Fix BaseFileCacheModule#keys to respect prefix (#72789) 3 years ago
template Templar: remove _fail_on_{lookup,filter}_errors (#73785) 3 years ago
utils Add comments to keep collection loader in sync. 3 years ago
vars Only check if play.hosts is a template when the play hasn't been finalized (#73941) 3 years ago
__init__.py transparent downstream vendoring (#69850) 4 years ago
constants.py force version on deprecation (#74338) 3 years ago
context.py Become plugins (#50991) 5 years ago
keyword_desc.yml Document and warn when max_fail and free are used (#72616) 4 years ago
release.py prep for 2.12 version bump (#74126) 3 years ago