This commit is contained in:
parent
bae044e145
commit
cf91519076
@ -24,7 +24,7 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ archives.path }}/{{ item.filename }}"
|
path: "{{ archives.path }}/{{ item.filename }}"
|
||||||
state: directory
|
state: directory
|
||||||
loop: "{{ dependencies.static_binaries | selectattr('archive', 'equalto', 'compressed') }}"
|
loop: "{{ dependencies.static_binaries | selectattr('archive', 'defined') | selectattr('archive', 'equalto', 'compressed') }}"
|
||||||
|
|
||||||
- name: Download, extract & install archived static binaries
|
- name: Download, extract & install archived static binaries
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
@ -32,7 +32,7 @@
|
|||||||
dest: "{{ archives.path }}/{{ item.filename }}"
|
dest: "{{ archives.path }}/{{ item.filename }}"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
extra_opts: "{{ item.extra_opts | default(omit) }}"
|
extra_opts: "{{ item.extra_opts | default(omit) }}"
|
||||||
loop: "{{ dependencies.static_binaries | selectattr('archive', 'equalto', 'compressed') }}"
|
loop: "{{ dependencies.static_binaries | selectattr('archive', 'defined') | selectattr('archive', 'equalto', 'compressed') }}"
|
||||||
|
|
||||||
- name: Cleanup tempfolder
|
- name: Cleanup tempfolder
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
Loading…
Reference in New Issue
Block a user