mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-05 13:23:30 +01:00
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:
parent
8243baa3d9
commit
f7c0c8783a
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue