From b087203cfb3d6fdd349d43d7b3c5979b62ef3ae1 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sun, 26 Jun 2022 18:06:15 +0200 Subject: [PATCH] Update var reference --- ansible/roles/metacluster/tasks/k3s.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/metacluster/tasks/k3s.yml b/ansible/roles/metacluster/tasks/k3s.yml index d66dc36..6756db5 100644 --- a/ansible/roles/metacluster/tasks/k3s.yml +++ b/ansible/roles/metacluster/tasks/k3s.yml @@ -8,7 +8,7 @@ - name: Download & install K3s binary ansible.builtin.get_url: - url: https://github.com/k3s-io/k3s/releases/download/{{ k3s.version }}/k3s + url: https://github.com/k3s-io/k3s/releases/download/{{ platform.k3s.version }}/k3s dest: /usr/local/bin/k3s owner: root group: root @@ -16,7 +16,7 @@ - name: Download K3s images tarball ansible.builtin.get_url: - url: https://github.com/k3s-io/k3s/releases/download/{{ k3s.version }}/k3s-airgap-images-amd64.tar.gz + url: https://github.com/k3s-io/k3s/releases/download/{{ platform.k3s.version }}/k3s-airgap-images-amd64.tar.gz dest: /var/lib/rancher/k3s/agent/images - name: Download K3s install script