mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Ovirt vm state running wait false (#51024)
* ovirt change wait when state running * add seting vm wait before creating module * update wait for running vm * ovirt vm sanity pylint correction * ovirt add wait create * update pep8 snytax * update pep8 snytax 2
This commit is contained in:
parent
70497df8d6
commit
e0de42fe48
2 changed files with 4 additions and 1 deletions
|
@ -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'],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue