mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
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:
@@ -559,9 +559,9 @@ else:
|
|||||||
|
|
||||||
# Execute command
|
# Execute command
|
||||||
if state == "present":
|
if state == "present":
|
||||||
ansible_module.ipa_command(["command_add", name, {}])
|
ansible_module.ipa_command("command_add", name, {})
|
||||||
else:
|
else:
|
||||||
ansible_module.ipa_command(["command_del", name, {}])
|
ansible_module.ipa_command("command_del", name, {})
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user