Add missing check.yml in redis role

Closes-Bug: #1738801

Change-Id: I345be79b9aa4d106e7721f44ccdb7f8342c94d3a
This commit is contained in:
Florian Engelmann 2017-12-18 15:50:18 +01:00
parent a29487cd50
commit 24e15d6052
1 changed files with 6 additions and 0 deletions

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