From 33a18bb5179900152673d02839ee42781dfc9ffc Mon Sep 17 00:00:00 2001 From: janar153 Date: Fri, 12 Nov 2021 12:23:55 +0200 Subject: [PATCH 1/2] Update main.yml --- vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From 29658aeb2e1e2ac1dae2b232b60931c751f15b02 Mon Sep 17 00:00:00 2001 From: janar153 Date: Fri, 12 Nov 2021 12:24:23 +0200 Subject: [PATCH 2/2] Update main.yml --- defaults/main.yml | 3 +++ 1 file changed, 3 insertions(+) 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