diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index 45e956d08c6c5d89f5c2f08c93d4e94154cefb2c..cd909c6e9a0513cc06a20a63e5a32b4d94fbb82e 100644 --- a/plugins/module_utils/ansible_freeipa_module.py +++ b/plugins/module_utils/ansible_freeipa_module.py @@ -559,9 +559,9 @@ else: # Execute command if state == "present": - ansible_module.ipa_command(["command_add", name, {}]) + ansible_module.ipa_command("command_add", name, {}) else: - ansible_module.ipa_command(["command_del", name, {}]) + ansible_module.ipa_command("command_del", name, {}) # Done