From 23e22c33145b5dc311e8c14a1e88baec25984e22 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 15 Nov 2024 08:42:43 -0300 Subject: [PATCH] fixup! ansible_freeipa_module_utils: Add EntryFactory class --- plugins/module_utils/ansible_freeipa_module.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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,