community.general/lib/ansible
Yann Rouillard ee3dfef016 Only delete key from redis in-memory cache if present (#35126)
Fixes #35120 : the redis cache plugin keeps key/value
entries in an in-memory cache to avoid hitting the
redis database each time.

The problem is that a cache entry is only set when
a value is get or set but it is always deleted when
trying to delete a value.

When the --flush-cache ansible-playbook option is used,
the redis cache plugin is first asked to remove every
entry corresponding to every hostname present in the inventory.
As no value as been set/get so far, it then tries to delete
an unexisting value from the cache and hence crashes with
a KeyError exception.
2018-10-03 11:06:44 -04:00
..
cli avoid empty groups in json output (#45621) 2018-09-13 15:38:52 -04:00
compat Fix the local and ssh plugins for a cornercase retrying a syscall 2018-08-13 07:17:11 -07:00
config Add configuration to override location of ansible-connection (#46128) 2018-10-01 14:29:59 -04:00
errors give hint to users when a file is not found 2018-04-10 17:19:03 -04:00
executor win_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
galaxy Link to the Galaxy platforms list from the meta file template (#34046) 2018-09-17 13:39:54 -05:00
inventory add docstring for ansible.inventory.helpers.get_group_vars 2018-09-14 16:02:45 -04:00
module_utils win_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
modules VMware: Add check mode support in vmware_host_config_facts (#46272) 2018-10-03 07:55:40 -05:00
parsing Ensure _raw_params retain exact spaces 2018-09-28 19:19:58 +02:00
playbook better error on empty playbook 2018-09-28 15:21:57 -04:00
plugins Only delete key from redis in-memory cache if present (#35126) 2018-10-03 11:06:44 -04:00
template remove unused templar._clean_data() (#42739) 2018-09-11 09:11:03 +02:00
utils Docs: Clean up of 'blockinfile' module docs (#46331) 2018-10-02 18:22:30 -04:00
vars Speed up VariableManager by preserving Templar state. (#45572) 2018-09-25 16:24:25 -04:00
__init__.py
constants.py cisco firepower : Make API endpoints configurable via hostvars (#44952) 2018-08-31 18:38:16 +05:30
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00