mirror of https://github.com/ansible/ansible.git
Fix traceback in atomic_move (#18649)
Commit 8b08a28c89
removed a
call to get_exception() that was needed. Without it, the fail_json
references an undefined variable ('exception') and throws an exception.
Add the get_exception() back in where needed and update references.
Now the proper module failure is returned.
Fixes #18628
pull/18658/head
parent
6169d2d49f
commit
dbbd2d79ff
Loading…
Reference in New Issue