Fix download url
This commit is contained in:
parent
f615c00fdb
commit
a3d6b8b9b6
2 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
namespace: serguzim
|
namespace: serguzim
|
||||||
name: sbc
|
name: sbc
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Tobias Reisinger <tobias@msrg.cc>
|
- Tobias Reisinger <tobias@msrg.cc>
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
- name: Download iso
|
- name: Download iso
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "{{ dietpi_download_base }}/{{ dietpi.img }}.7z"
|
url: "{{ dietpi_download_base }}/{{ dietpi.img }}.img.xz"
|
||||||
dest: "{{ (lookup('ansible.builtin.env', 'XDG_RUNTIME_DIR'), dietpi.img + '.xz') | path_join }}"
|
dest: "{{ (lookup('ansible.builtin.env', 'XDG_RUNTIME_DIR'), dietpi.img + '.img.xz') | path_join }}"
|
||||||
- name: Extract iso
|
- name: Extract iso
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
#cmd: 7z x -y -o"{{ build_dir.path }}" "{{ (lookup('ansible.builtin.env', 'XDG_RUNTIME_DIR'), dietpi.img + '.7z') | path_join }}"
|
#cmd: 7z x -y -o"{{ build_dir.path }}" "{{ (lookup('ansible.builtin.env', 'XDG_RUNTIME_DIR'), dietpi.img + '.7z') | path_join }}"
|
||||||
cmd: xz -d "{{ (lookup('ansible.builtin.env', 'XDG_RUNTIME_DIR'), dietpi.img + '.xz') | path_join }}"
|
cmd: xz -d "{{ (lookup('ansible.builtin.env', 'XDG_RUNTIME_DIR'), dietpi.img + '.img.xz') | path_join }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue