mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-09 14:50:02 -07: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=(
|
||||
module.params.get('hosted_engine') == 'deploy'
|
||||
) 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,
|
||||
)
|
||||
if module.params['activate'] and host is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue