Merge "When ansible fails it still reads chaged key"

This commit is contained in:
Jenkins
2016-03-03 23:34:50 +00:00
committed by Gerrit Code Review

View File

@@ -21,7 +21,7 @@ function get_token {
}
function fail_json {
echo '{"failed": true, "msg": "'$1'"}'
echo '{"failed": true, "msg": "'$1'", "changed": true}'
exit 1
}