diff --git a/group_vars/virt.yml b/group_vars/virt.yml index 6fb8fc7a..2b67dbaa 100644 --- a/group_vars/virt.yml +++ b/group_vars/virt.yml @@ -42,6 +42,7 @@ cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}" cv4pve_vmid: all,-109,-158,-153 cv4pve_keed_snapshots: 7 + cv4pve_dl_link: "https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.9.10/cv4pve-autosnap-linux-x64.zip" # Ansible Variablen ### sudo diff --git a/roles/mgrote.cv4pve-autosnap/tasks/main.yml b/roles/mgrote.cv4pve-autosnap/tasks/main.yml index 2ab27e05..ca94002b 100644 --- a/roles/mgrote.cv4pve-autosnap/tasks/main.yml +++ b/roles/mgrote.cv4pve-autosnap/tasks/main.yml @@ -11,7 +11,7 @@ - name: download archives become: yes ansible.builtin.get_url: ## hier variable für version - url: https://github.com/Corsinvest/cv4pve-autosnap/releases/download/{{ cv4pve_version }}/cv4pve-autosnap-linux-x64.zip + url: "{{ cv4pve_dl_link }}" dest: /tmp/cv4pve/cv4pve-autosnap-linux-x64.zip mode: '0775'