Skip to content
Snippets Groups Projects
Unverified Commit 8dec9f77 authored by Thomas Woerner's avatar Thomas Woerner Committed by GitHub
Browse files

Merge pull request #633 from rjeffman/topology_fix_usage_ipaansiblemodule

Fix documentation and usage of IPAAnsibleModule
parents b81f719b 60244600
No related branches found
No related tags found
No related merge requests found
...@@ -560,9 +560,9 @@ else: ...@@ -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(): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment