Merge pull request #633 from rjeffman/topology_fix_usage_ipaansiblemodule

Fix documentation and usage of IPAAnsibleModule
This commit is contained in:
Thomas Woerner
2021-09-09 09:54:50 +02:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -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

View File

@@ -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