ansible-role-k3s/tasks/state-downloaded.yml
Curtis John 8243baa3d9
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
2021-12-15 12:14:24 -05:00

13 lines
260 B
YAML

---
- import_tasks: build/get-version.yml
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
- import_tasks: build/airgap-k3s.yml
when: k3s_airgap