diff --git a/roles/ipaserver/library/ipaserver_test.py b/roles/ipaserver/library/ipaserver_test.py index c9f7cce2..a451b9f5 100644 --- a/roles/ipaserver/library/ipaserver_test.py +++ b/roles/ipaserver/library/ipaserver_test.py @@ -730,7 +730,7 @@ def main(): adtrust.install_check(False, options, api) except (RuntimeError, ValueError, ScriptError) as e: - module.fail_json(msg=str(e)) + ansible_module.fail_json(msg=str(e)) finally: try: