1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

ovirt_templates: Fix exlusive parameter (#31470)

This commit is contained in:
Ondra Machacek 2017-10-12 14:49:38 +02:00 committed by ansibot
parent 23c47a65c1
commit e5c0958dbb

View file

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