Skip to content
Snippets Groups Projects
Commit 98f0e3b6 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

fix issue with moodi_stop step

parent 5602936f
No related branches found
No related tags found
1 merge request!311fix issue with moodi_stop step
Pipeline #90555 failed
......@@ -417,11 +417,11 @@ def stop_moodi() -> StepList:
host = load_oss_params().MOODI.host
@step("Stop Moodi")
def _stop_moodi() -> LSOState:
def _stop_moodi(subscription: dict[str, Any]) -> LSOState:
return {
"playbook_name": "moodi_telemetry/playbooks/stop_moodi.yaml",
"inventory": {"all": {"hosts": {host: None}}},
"extra_vars": None,
"extra_vars": {"subscription": subscription},
}
return _is_moodi_enabled(indifferent_lso_interaction(_stop_moodi))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment