mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-01 04:14:42 +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
|
# 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
|
||||||
|
|
||||||
|
|||||||
@@ -89,8 +89,7 @@ def main():
|
|||||||
|
|
||||||
with ansible_module.ipa_connect():
|
with ansible_module.ipa_connect():
|
||||||
# Execute command
|
# Execute command
|
||||||
ansible_module.ipa_command(["topologysuffix_verify", suffix,
|
ansible_module.ipa_command("topologysuffix_verify", suffix, {})
|
||||||
{}])
|
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user