Ensure agents are upgraded correctly

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2025-12-22 09:57:29 -08:00
parent e11ff62d8f
commit 8b90c2c7c9
3 changed files with 15 additions and 1 deletions

View File

@@ -39,6 +39,7 @@
| combine({
"INSTALL_K3S_SKIP_START": "true",
"INSTALL_K3S_VERSION": k3s_version,
"INSTALL_K3S_EXEC": ( "agent" if agent_group in group_names else "server" )
})
| combine(airgap_dir is defined and {"INSTALL_K3S_SKIP_DOWNLOAD": "true"} or {}) }}
changed_when: true