PyratLabs / ansible-role-k3s

Ansible role for installing k3s as either a standalone server or HA cluster.
BSD 3-Clause "New" or "Revised" License
640 stars 135 forks source link

Feature: Air Gap Installation #165

Closed crutonjohn closed 2 years ago

crutonjohn commented 2 years ago

Air Gap Support

Bring your own binary

Summary

The aim of this feature is to support users who are unable to contact or download anything from Github in the middle of deploying their k3s cluster.

Setting the k3s_airgap var to true will expect the k3s binary to live in files/k3s as is the default behavior for the ansible.builtin.copy module.

Issue type

Test instructions

Simply changing the k3s_airgap var to true and placing k3s binary in files/ will allow you to run the role as expected, skipping steps that are normally reserved for version checking and sanity checking as it relates to downloading the binary.

Acceptance Criteria

Additional Information

crutonjohn commented 2 years ago

This still has some more things to go, but I wanted to get it on your radar @xanmanning

xanmanning commented 2 years ago

Hi @crutonjohn do you want to merge in changes from main on this repo to fix the molecule tests?

crutonjohn commented 2 years ago

@xanmanning i believe i got it

let me know if there is anything else i can help with