diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index a8312bc5c2c0306129398fb6c91c226d57679167..8154a12c33050552afb17cdba781da9ae20ae43a 100644 --- a/plugins/module_utils/ansible_freeipa_module.py +++ b/plugins/module_utils/ansible_freeipa_module.py @@ -151,6 +151,13 @@ def api_command(module, command, name, args): return api.Command[command](name, **args) +def api_command_no_name(module, command, args): + """ + Call ipa.Command without a name. + """ + return api.Command[command](**args) + + def api_check_param(command, name): """ Return if param exists in command param list