diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index 3ee5db7b5c..3386cb8c10 100644 --- a/plugins/module_utils/ansible_freeipa_module.py +++ b/plugins/module_utils/ansible_freeipa_module.py @@ -1637,17 +1637,12 @@ def main(): # Create param mapping, all moudle parameters must be # present as keys of this dictionary params = { - "name": { - "aliases": ["cn"] - }, + "name": {}, "description": {} "user": { "convert": [convert_param_value_to_lowercase] }, - "group": { - "convert": [convert_param_value_to_lowercase] - "aliases": "ipagroup" - } + "group": {"convert": [convert_param_value_to_lowercase]} } entries = EntryFactory( module, invalid_params, "entries", params,