From 8243baa3d9f7ba17fcddfe0ea556f0cc8fa2362c Mon Sep 17 00:00:00 2001 From: Curtis John Date: Wed, 15 Dec 2021 12:14:24 -0500 Subject: [PATCH] feat(airgap): airgap should not verify version information in an air gapped environment the machine will not be able to check sha checksums or information around the binary so we should ignore the tasks in that scenario --- tasks/state-downloaded.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/state-downloaded.yml b/tasks/state-downloaded.yml index b0abe03..60872ca 100644 --- a/tasks/state-downloaded.yml +++ b/tasks/state-downloaded.yml @@ -1,7 +1,9 @@ --- - import_tasks: build/get-version.yml - when: k3s_release_version is not defined or not k3s_release_version + when: + - k3s_release_version is not defined or not k3s_release_version + - not k3s_airgap - import_tasks: build/download-k3s.yml when: not k3s_airgap