From 49f567dc98a5484863af8630ded6eea22ce805e6 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Tue, 26 Apr 2022 13:42:56 +0200 Subject: [PATCH] Fix release asset names --- playbook.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/playbook.yml b/playbook.yml index deffe70..80c72ad 100644 --- a/playbook.yml +++ b/playbook.yml @@ -197,11 +197,6 @@ path: "{{ kubeconfig.path }}" regexp: 'server: https:\/\/127\.0\.0\.1:6443$' replace: "server: https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443" - - ansible.builtin.slurp: - src: "{{ kubeconfig.path }}" - register: foo - - ansible.builtin.debug: - msg: "{{ foo.content | b64decode | trim }}" - name: Add Helm chart repositories kubernetes.core.helm_repository: @@ -227,7 +222,7 @@ kubeconfig: "{{ kubeconfig.path }}" loop: - name: fleet-crd - url: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-crd-{{ latest_release.json.tag_name }}.tgz" + url: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-crd-{{ latest_release.json.tag_name[1:] }}.tgz" - name: fleet - url: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-{{ latest_release.json.tag_name }}.tgz" + url: "https://github.com/rancher/fleet/releases/download/{{ latest_release.json.tag_name }}/fleet-{{ latest_release.json.tag_name[1:] }}.tgz"