Merge "Add missing check.yml in redis role"

This commit is contained in:
Zuul 2017-12-29 08:14:24 +00:00 committed by Gerrit Code Review
commit ab774b6608

View 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'"