mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
ovirt_templates: Fix exlusive parameter (#31470)
This commit is contained in:
parent
23c47a65c1
commit
e5c0958dbb
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ def main():
|
||||||
ret = templates_module.action(
|
ret = templates_module.action(
|
||||||
entity=template,
|
entity=template,
|
||||||
action='export',
|
action='export',
|
||||||
action_condition=lambda t: export_template is None,
|
action_condition=lambda t: export_template is None or module.params['exclusive'],
|
||||||
wait_condition=lambda t: t is not None,
|
wait_condition=lambda t: t is not None,
|
||||||
post_action=templates_module.post_export_action,
|
post_action=templates_module.post_export_action,
|
||||||
storage_domain=otypes.StorageDomain(id=export_service.get().id),
|
storage_domain=otypes.StorageDomain(id=export_service.get().id),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue