diff --git a/lib/ansible/modules/monitoring/honeybadger_deployment.py b/lib/ansible/modules/monitoring/honeybadger_deployment.py index f9e7c07b852..607c7af9fca 100644 --- a/lib/ansible/modules/monitoring/honeybadger_deployment.py +++ b/lib/ansible/modules/monitoring/honeybadger_deployment.py @@ -136,7 +136,7 @@ def main(): e = get_exception() module.fail_json(msg='Unable to notify Honeybadger: %s' % e) else: - if info['status'] == 200: + if info['status'] == 201: module.exit_json(changed=True) else: module.fail_json(msg="HTTP result code: %d connecting to %s" % (info['status'], url))