diff options
Diffstat (limited to 'lib/ansible/module_utils/ovirt.py')
-rw-r--r-- | lib/ansible/module_utils/ovirt.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/ovirt.py b/lib/ansible/module_utils/ovirt.py index fface39708..2114e93d60 100644 --- a/lib/ansible/module_utils/ovirt.py +++ b/lib/ansible/module_utils/ovirt.py @@ -541,6 +541,7 @@ class BaseModule(object): fail_condition=lambda e: False, search_params=None, update_params=None, + _wait=None, **kwargs ): """ @@ -621,7 +622,7 @@ class BaseModule(object): service=entity_service, condition=state_condition, fail_condition=fail_condition, - wait=self._module.params['wait'], + wait=_wait if _wait is not None else self._module.params['wait'], timeout=self._module.params['timeout'], poll_interval=self._module.params['poll_interval'], ) |