This commit is contained in:
parent
cf91519076
commit
38d7442025
@ -34,6 +34,15 @@
|
|||||||
extra_opts: "{{ item.extra_opts | default(omit) }}"
|
extra_opts: "{{ item.extra_opts | default(omit) }}"
|
||||||
loop: "{{ dependencies.static_binaries | selectattr('archive', 'defined') | selectattr('archive', 'equalto', 'compressed') }}"
|
loop: "{{ dependencies.static_binaries | selectattr('archive', 'defined') | selectattr('archive', 'equalto', 'compressed') }}"
|
||||||
|
|
||||||
|
- name: Install extracted binaries
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: "{{ archives.path }}/{{ item.filename }}/{{ item.filename }}
|
||||||
|
dest: /usr/local/bin/{{ item.filename }}
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0755
|
||||||
|
loop: "{{ dependencies.static_binaries | selectattr('archive', 'defined') | selectattr('archive', 'equalto', 'compressed') }}"
|
||||||
|
|
||||||
- name: Cleanup tempfolder
|
- name: Cleanup tempfolder
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ archives.path }}"
|
path: "{{ archives.path }}"
|
||||||
@ -62,19 +71,3 @@
|
|||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
autoremove: yes
|
autoremove: yes
|
||||||
purge: yes
|
purge: yes
|
||||||
|
|
||||||
- block:
|
|
||||||
|
|
||||||
- name: Download Helm binary
|
|
||||||
ansible.builtin.unarchive:
|
|
||||||
src: https://get.helm.sh/helm-{{ helm.version }}-linux-amd64.tar.gz
|
|
||||||
dest: /opt/metacluster/dependencies/helm
|
|
||||||
|
|
||||||
- name: Install Helm binary
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: /opt/metacluster/dependencies/helm/helm
|
|
||||||
dest: /usr/local/bin/helm
|
|
||||||
remote_src: yes
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0755
|
|
||||||
|
Loading…
Reference in New Issue
Block a user