diff --git a/lib/ansible/modules/extras/notification/pushover b/lib/ansible/modules/extras/notification/pushover index 6b7c32d758..7fd66333f5 100644 --- a/lib/ansible/modules/extras/notification/pushover +++ b/lib/ansible/modules/extras/notification/pushover @@ -97,9 +97,9 @@ def main(): try: msg_object.run() 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 from ansible.module_utils.basic import *