Add missing check.yml in redis role
Closes-Bug: #1738801 Change-Id: I345be79b9aa4d106e7721f44ccdb7f8342c94d3a
This commit is contained in:
parent
a29487cd50
commit
24e15d6052
6
ansible/roles/redis/tasks/check.yml
Normal file
6
ansible/roles/redis/tasks/check.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Redis ping pong check
|
||||
command: "docker exec redis redis-cli -h {{ api_interface_address }} -a {{ redis_master_password }} ping"
|
||||
register: redis_check
|
||||
changed_when: "redis_check.stdout != 'PONG'"
|
||||
failed_when: "redis_check.stdout != 'PONG'"
|
Loading…
x
Reference in New Issue
Block a user