mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ovirt_hosts: Fix waiting state of adding a new host (#28771)
This commit is contained in:
parent
d548c477c0
commit
883aede8ac
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ def main():
|
||||||
deploy_hosted_engine=(
|
deploy_hosted_engine=(
|
||||||
module.params.get('hosted_engine') == 'deploy'
|
module.params.get('hosted_engine') == 'deploy'
|
||||||
) if module.params.get('hosted_engine') is not None else None,
|
) if module.params.get('hosted_engine') is not None else None,
|
||||||
result_state=(lambda h: h.status == hoststate.UP) if host is None else None,
|
result_state=hoststate.UP if host is None else None,
|
||||||
fail_condition=failed_state if host is None else lambda h: False,
|
fail_condition=failed_state if host is None else lambda h: False,
|
||||||
)
|
)
|
||||||
if module.params['activate'] and host is not None:
|
if module.params['activate'] and host is not None:
|
||||||
|
|
Loading…
Reference in a new issue