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
This commit is contained in:
Curtis John 2021-12-15 12:14:24 -05:00
parent 25d40cec52
commit 8243baa3d9
No known key found for this signature in database
GPG Key ID: 074FD4B4236B6865

View File

@ -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