IPAAnsibleModule: Fix example in documentation.

In the provided example for the class documentation, the parameters
passed to the `ipa_command` method were wrong, as a single list was
used instead of a parameter list.
This commit is contained in:
Rafael Guterres Jeffman
2021-09-09 00:17:48 -03:00
parent 6dbbe3a2fe
commit 4c4668b437

View File

@@ -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