Skip to content

Commit

Permalink
fixup! ansible_freeipa_module_utils: Add EntryFactory class
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeffman committed Nov 15, 2024
1 parent 9ff7bc1 commit 23e22c3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions plugins/module_utils/ansible_freeipa_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 23e22c3

Please sign in to comment.