mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 22:03:18 +00:00
Merge pull request #633 from rjeffman/topology_fix_usage_ipaansiblemodule
Fix documentation and usage of IPAAnsibleModule
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user