mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Add TLS certs params to redis (#8654)
* add tls params to redis * add PR number * add example * move doc to redis fragment * Update changelogs/fragments/8654-add-redis-tls-params.yml Co-authored-by: Felix Fontein <felix@fontein.de> * rm aliases and add version_added --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
58f9860ba7
commit
52126b8fae
5 changed files with 37 additions and 1 deletions
|
@ -132,6 +132,16 @@ EXAMPLES = '''
|
|||
command: config
|
||||
name: lua-time-limit
|
||||
value: 100
|
||||
|
||||
- name: Connect using TLS and certificate authentication
|
||||
community.general.redis:
|
||||
command: config
|
||||
name: lua-time-limit
|
||||
value: 100
|
||||
tls: true
|
||||
ca_certs: /etc/redis/certs/ca.crt
|
||||
client_cert_file: /etc/redis/certs/redis.crt
|
||||
client_key_file: /etc/redis/certs/redis.key
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue