diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index 45eabb88..fede14a5 100644 --- a/plugins/module_utils/ansible_freeipa_module.py +++ b/plugins/module_utils/ansible_freeipa_module.py @@ -560,9 +560,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 diff --git a/plugins/modules/ipatopologysuffix.py b/plugins/modules/ipatopologysuffix.py index 47119264..c5be3d3e 100644 --- a/plugins/modules/ipatopologysuffix.py +++ b/plugins/modules/ipatopologysuffix.py @@ -89,8 +89,7 @@ def main(): with ansible_module.ipa_connect(): # Execute command - ansible_module.ipa_command(["topologysuffix_verify", suffix, - {}]) + ansible_module.ipa_command("topologysuffix_verify", suffix, {}) # Done