mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
ovirt_templates: Fix exlusive parameter (#31470)
This commit is contained in:
@@ -303,7 +303,7 @@ def main():
|
||||
ret = templates_module.action(
|
||||
entity=template,
|
||||
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,
|
||||
post_action=templates_module.post_export_action,
|
||||
storage_domain=otypes.StorageDomain(id=export_service.get().id),
|
||||
|
||||
Reference in New Issue
Block a user