mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 03:28:57 +00:00
-p has been replaced by a required option. Various docs changes.
This commit is contained in:
parent
4ce1f1dd5e
commit
847846af0e
7 changed files with 89 additions and 77 deletions
|
|
@ -45,13 +45,13 @@ try:
|
|||
except (OSError, IOError), e:
|
||||
print json.dumps({
|
||||
"failed": 1,
|
||||
"error": str(e),
|
||||
"msg": str(e),
|
||||
})
|
||||
sys.exit(1)
|
||||
except:
|
||||
print json.dumps({
|
||||
"failed" : 1,
|
||||
"traceback" : traceback.format_exc()
|
||||
"msg" : traceback.format_exc()
|
||||
})
|
||||
sys.exit(1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue