diff --git a/plugins/module_utils/ansible_freeipa_module.py b/plugins/module_utils/ansible_freeipa_module.py index 45eabb88d322b4f97812facf1c9bb075c2eca80d..fede14a5ee4744c923da233a08ecc2e029af1b0a 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 4711926410824319f75e563ff81dd5732cbefa44..c5be3d3e025e46e6174b2f6a9328724fcc538e3f 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