mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
ovirt_templates: Fix exlusive parameter (#31470)
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user