When ansible fails it still reads chaged key
Add changed key failure as well. Closes-Bug: #1552405 Change-Id: Ic25a57ba20928bee136932cc422713e76dcbe2a1
This commit is contained in:
parent
69c7decf49
commit
69c33ce2fe
@ -21,7 +21,7 @@ function get_token {
|
||||
}
|
||||
|
||||
function fail_json {
|
||||
echo '{"failed": true, "msg": "'$1'"}'
|
||||
echo '{"failed": true, "msg": "'$1'", "changed": true}'
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user