This commit is contained in:
parent
e0a5b5a5da
commit
4a5f390ae1
@ -21,17 +21,16 @@
|
|||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
|
||||||
- name: Download Helm binary
|
- name: Download Helm binary
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: https://get.helm.sh/helm-{{ helm.version }}-linux-amd64.tar.gz
|
src: https://get.helm.sh/helm-{{ helm.version }}-linux-amd64.tar.gz
|
||||||
dest: /opt/metacluster/dependencies/helm
|
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
|
|
||||||
|
|
||||||
|
- 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
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
- name: Add helm repositories
|
- name: Add helm repositories
|
||||||
kubernetes.core.helm_repository:
|
kubernetes.core.helm_repository:
|
||||||
name: "{{ item.name }}
|
name: "{{ item.name }}"
|
||||||
repo_url: "{{ item.url }}"
|
repo_url: "{{ item.url }}"
|
||||||
state: present
|
state: present
|
||||||
loop: "{{ components.helm_repositories }}"
|
loop: "{{ components.helm_repositories }}"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- name: Create folder structures
|
- name: Create folder structure(s)
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
Loading…
Reference in New Issue
Block a user