community.general/lib/ansible/plugins
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
..
action win_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
cache Only delete key from redis in-memory cache if present (#35126) 2018-10-03 11:06:44 -04:00
callback New option JUNIT_TASK_RELATIVE_PATH to output relative paths. (#37274) 2018-10-02 12:25:29 -07:00
cliconf Additional feature enhancements to nxos_logging (#45844) 2018-09-25 11:02:09 +05:30
connection Add configuration to override location of ansible-connection (#46128) 2018-10-01 14:29:59 -04:00
filter WIP: Check that union Jinja filter can be chained (#46298) 2018-10-01 16:30:24 -04:00
httpapi Store Authorization header inside HttpApi connection plugin (#45598) 2018-09-13 19:34:30 +05:30
inventory k8s/oc plugins: fix 'ResourceField' is not JSON serializable (#46145) 2018-09-27 18:43:29 -04:00
lookup Add ssl support to consul_kv lookup (#42456) 2018-10-02 11:01:03 -04:00
netconf Move persistent connections to only use registered variables (#45616) 2018-09-20 09:56:43 -04:00
shell win_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
strategy If including a file resulted in AnsibleFileNotFound, clarify error message. Fixes #45661 (#45667) 2018-09-18 09:04:33 -05:00
terminal Additional feature enhancements to nxos_logging (#45844) 2018-09-25 11:02:09 +05:30
test Added an async 'started' test (like 'finished') (#43445) 2018-08-24 01:29:34 +02:00
vars Allow loading dirs from role defaults/vars (#36357) 2018-04-10 17:14:38 -04:00
__init__.py inventory plugins: add test about config API usage (#41888) 2018-07-19 10:45:45 -07:00
loader.py pylint plugin to catch due/past-due deprecated calls (#44143) 2018-09-25 10:31:41 -05:00