log binaries versions
Signed-off-by: Liza <e.chichindaeva@yadro.com>
parent
09a7f66d1e
commit
649e512c2d
|
@ -30,6 +30,7 @@ def get_local_binaries_versions(shell: Shell) -> dict[str, str]:
|
|||
out = shell.exec("aws --version").stdout
|
||||
out_lines = out.split("\n")
|
||||
versions["AWS"] = out_lines[0] if out_lines else "Unknown"
|
||||
logger.info(f"Local binaries version: {out_lines[0]}")
|
||||
|
||||
return versions
|
||||
|
||||
|
@ -95,6 +96,7 @@ def get_remote_binaries_versions(hosting: Hosting) -> dict[str, str]:
|
|||
|
||||
versions[name] = {"version": version, "check": binary["check"]}
|
||||
previous_host = host
|
||||
logger.info("Remote binaries versions:" + ", ".join(f"{key}: {value}" for key, value in versions.items()))
|
||||
if exception:
|
||||
for i in exception:
|
||||
for host in versions_by_host.keys():
|
||||
|
|
Loading…
Reference in New Issue