ovirt_host: add activate parameter (#54594)
This commit is contained in:
parent
a387b8e239
commit
8940da9b46
1 changed files with 2 additions and 1 deletions
|
@ -473,7 +473,8 @@ def main():
|
|||
deploy_hosted_engine=(
|
||||
module.params.get('hosted_engine') == 'deploy'
|
||||
) if module.params.get('hosted_engine') is not None else None,
|
||||
result_state=hoststate.UP if host is None else None,
|
||||
activate=module.params['activate'],
|
||||
result_state=(hoststate.MAINTENANCE if module.params['activate'] is False else hoststate.UP) if host is None else None,
|
||||
fail_condition=hosts_module.failed_state_after_reinstall if host is None else lambda h: False,
|
||||
)
|
||||
if module.params['activate'] and host is not None:
|
||||
|
|
Loading…
Reference in a new issue