Skip to content

Commit

Permalink
Update Manual.md (#577)
Browse files Browse the repository at this point in the history
Minor edit to mention that REDISCLI_AUTH was added in redis >=5.0.3
  • Loading branch information
proditis authored Oct 10, 2024
1 parent 1ccb321 commit 27efd3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,13 +569,18 @@ shell:
- name: Redis (Local)
cmd: "redis-cli"
args:
# uncomment for redis <= 5.0.2
# - "-a"
# - "AuthPassword"
- "-h"
- "127.0.0.1"
- "ping"
clean_env: true # Do not pass the OS environment variables to the command
# default: false
env:
# set the `REDISCLI_AUTH` environment variable for redis password
# NOTE: The `REDISCLI_AUTH` was first introduced in redis v5.0.3 so
# older clients may require an alternative way such as `-a AuthPassword`
- "REDISCLI_AUTH=abc123"
# check the command output, if does not contain the PONG, mark the status down
contain : "PONG"
Expand Down

0 comments on commit 27efd3d

Please sign in to comment.