diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index 2ffddc1127..b9ded6cd1f 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -1277,7 +1277,7 @@ def main(): # Default email domain result = ansible_module.ipa_command_no_name("config_show", {}) - default_email_domain = result["result"]["ipadefaultemaildomain"][0] + default_email_domain = result["result"]["ipadefaultemaildomain"][0] if "ipadefaultemaildomain" in result["result"] else None # Extend email addresses