mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 01:33:09 +00:00
ovirt_hosts: Fix waiting state of adding a new host (#28771)
This commit is contained in:
committed by
Ryan Brown
parent
d548c477c0
commit
883aede8ac
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user