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:15:25 -05:00
parent 8243baa3d9
commit f7c0c8783a
No known key found for this signature in database
GPG key ID: 074FD4B4236B6865

View file

@ -5,9 +5,11 @@
- import_tasks: teardown/drain-and-remove-nodes.yml
- import_tasks: build/get-version.yml
when: k3s_release_version is not defined
or not k3s_release_version
or k3s_release_version is not regex('\\+k3s[1-9]$')
when:
- k3s_release_version is not defined
or not k3s_release_version
or k3s_release_version is not regex('\\+k3s[1-9]$')
- not k3s_airgap
- import_tasks: validate/main.yml
when: not k3s_skip_validation