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
commit ebc1bbb081

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
}