diff --git a/roles/ipaserver/library/ipaserver_test.py b/roles/ipaserver/library/ipaserver_test.py
index a519e63d4e1427a38f4b427333f6b611cc263ebc..98502ded949b8ca8b0b6bab04443f5970f901893 100644
--- a/roles/ipaserver/library/ipaserver_test.py
+++ b/roles/ipaserver/library/ipaserver_test.py
@@ -578,8 +578,8 @@ def main():
         # to establish trust with Active Directory. Fail.
 
         if options.domain_name.upper() != options.realm_name:
-            ansible_module.fail_json(
-                msg="Realm name does not match the domain name: "
+            ansible_module.warn(
+                "Realm name does not match the domain name: "
                 "You will not be able to establish trusts with Active "
                 "Directory.")