diff --git a/defaults/main.yml b/defaults/main.yml index f2ce3ac..6f51b86 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -26,6 +26,9 @@ k3s_build_cluster: true # URL for GitHub project k3s_github_url: https://github.com/k3s-io/k3s +# URL for K3s updates API +k3s_api_url: https://update.k3s.io + # Skip all tasks that validate configuration k3s_skip_validation: false diff --git a/vars/main.yml b/vars/main.yml index bae0040..7c36325 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -51,7 +51,7 @@ k3s_arch_lookup: k3s_release_channel: stable # K3s updates API -k3s_api_releases: https://update.k3s.io/v1-release/channels +k3s_api_releases: "{{ k3s_api_url }}/v1-release/channels" # Download location for releases k3s_github_download_url: "{{ k3s_github_url }}/releases/download"