community.general icon indicating copy to clipboard operation
community.general copied to clipboard

Add Redis connection parameters full control

Open pierre-claranet opened this issue 1 month ago • 1 comments

SUMMARY

In Ansible Redis facts cache plugin, add Redis connection parameters full access in order to be able to set advanced socket options, like enabling keep alive for example.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

redis cache

ADDITIONAL INFORMATION

The parameter Ansible facts cache parameter fact_caching_connection accepts (for Redis cache plugin) a new URI format (the 2 other formats are still accepted too): key=value pairs, separated by &. Keys are Redis Python connection parameters name. See https://redis-py2.readthedocs.io/en/latest/ for parameters name and accepted values.

pierre-claranet avatar Jul 03 '24 16:07 pierre-claranet