From 18fa44265d20f5b6956980599264a7597928cc13 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Mon, 8 Jun 2015 12:02:43 +0200 Subject: [PATCH] Redis: first version --- resources/glance_api_service/actions/run.yml | 3 +++ resources/glance_registry_service/actions/run.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/resources/glance_api_service/actions/run.yml b/resources/glance_api_service/actions/run.yml index 567748b..292fe6b 100644 --- a/resources/glance_api_service/actions/run.yml +++ b/resources/glance_api_service/actions/run.yml @@ -26,3 +26,6 @@ - {{ bind['value']['src'] }}:{{ bind['value']['dst'] }}:{{ bind['value'].get('mode', 'ro') }} {% endfor %} {% endif %} + + - name: wait for glance api + wait_for: host={{ ip }} port=9393 timeout=20 diff --git a/resources/glance_registry_service/actions/run.yml b/resources/glance_registry_service/actions/run.yml index 51b208b..2139641 100644 --- a/resources/glance_registry_service/actions/run.yml +++ b/resources/glance_registry_service/actions/run.yml @@ -27,3 +27,6 @@ - {{ bind['value']['src'] }}:{{ bind['value']['dst'] }}:{{ bind['value'].get('mode', 'ro') }} {% endfor %} {% endif %} + + - name: wait for glance registry + wait_for: host={{ ip }} port=9191 timeout=20