fix(install): as part of install check, confirm service

!56
This commit is contained in:
2024-04-23 23:02:35 +09:30
parent c5b9420ed9
commit 725e8dbfec

View File

@ -243,6 +243,12 @@
false
{%- endif -%}";
if ! service k3s status > /dev/null; then
export installed='false';
fi
export running_version="{{ kubernetes_node.resources[0].status.nodeInfo.kubeletVersion | default('0') }}";
export correct_hash=$(wget -q https://github.com/k3s-io/k3s/releases/download/v