mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 05:43:26 +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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user