clarification of error and success messages
This commit is contained in:
parent
34f2ebc0ab
commit
5edd0274de
1 changed files with 2 additions and 2 deletions
|
@ -97,9 +97,9 @@ def main():
|
||||||
try:
|
try:
|
||||||
msg_object.run()
|
msg_object.run()
|
||||||
except:
|
except:
|
||||||
module.fail_json(msg='Wibble')
|
module.fail_json(msg='Unable to send msg via pushover')
|
||||||
|
|
||||||
module.exit_json(msg="OK", changed=False)
|
module.exit_json(msg=msg, changed=False)
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
|
|
Loading…
Reference in a new issue