ovirt_templates: Fix exlusive parameter (#31470)

pull/31136/merge
Ondra Machacek 7 years ago committed by ansibot
parent 23c47a65c1
commit e5c0958dbb

@ -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…
Cancel
Save