Merge "When ansible fails it still reads chaged key"
This commit is contained in:
commit
ebc1bbb081
@ -21,7 +21,7 @@ function get_token {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fail_json {
|
function fail_json {
|
||||||
echo '{"failed": true, "msg": "'$1'"}'
|
echo '{"failed": true, "msg": "'$1'", "changed": true}'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user