From 69c33ce2fee3ff6128d3d65c63936441353d568b Mon Sep 17 00:00:00 2001 From: SamYaple Date: Wed, 2 Mar 2016 20:46:00 +0000 Subject: [PATCH] When ansible fails it still reads chaged key Add changed key failure as well. Closes-Bug: #1552405 Change-Id: Ic25a57ba20928bee136932cc422713e76dcbe2a1 --- docker/keystone/keystone_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/keystone/keystone_bootstrap.sh b/docker/keystone/keystone_bootstrap.sh index 9702f02886..fa5f3b3714 100644 --- a/docker/keystone/keystone_bootstrap.sh +++ b/docker/keystone/keystone_bootstrap.sh @@ -21,7 +21,7 @@ function get_token { } function fail_json { - echo '{"failed": true, "msg": "'$1'"}' + echo '{"failed": true, "msg": "'$1'", "changed": true}' exit 1 }