diff --git a/roles/network_plugin/calico/defaults/main.yml b/roles/network_plugin/calico/defaults/main.yml index 39bf108610d7dc602adfcebba198a67820618669..45a2bda0614fdbd05b462a64250e2b06ce3634f8 100644 --- a/roles/network_plugin/calico/defaults/main.yml +++ b/roles/network_plugin/calico/defaults/main.yml @@ -43,6 +43,7 @@ calico_felix_prometheusprocessmetricsenabled: "true" ### check latest version https://github.com/projectcalico/calico-upgrade/releases calico_upgrade_enabled: true calico_upgrade_version: v1.0.5 +calico_upgrade_url: "https://github.com/projectcalico/calico-upgrade/releases/download/{{ calico_upgrade_version }}/calico-upgrade" # Set the agent log level. Can be debug, warning, info or fatal calico_loglevel: info diff --git a/roles/network_plugin/calico/tasks/upgrade.yml b/roles/network_plugin/calico/tasks/upgrade.yml index 9815b3d27f4d93e0016791edfcd8ef6702b29087..9754d058e4ba3290258e8233e1d6138246d707ee 100644 --- a/roles/network_plugin/calico/tasks/upgrade.yml +++ b/roles/network_plugin/calico/tasks/upgrade.yml @@ -1,7 +1,7 @@ --- - name: "Download calico-upgrade tool (force version)" get_url: - url: "https://github.com/projectcalico/calico-upgrade/releases/download/{{ calico_upgrade_version }}/calico-upgrade" + url: "{{ calico_upgrade_url }}" dest: "{{ bin_dir }}/calico-upgrade" mode: 0755 owner: root