Skip to content

Commit

Permalink
Update install-addons.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-hermann-sva authored Apr 19, 2024
1 parent 984136f commit 7ab2fea
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions tasks/install-addons.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
- name: Download and install kubectl
ansible.builtin.include_role:
name: download-install-binary
loop: "{{ lookup('dict', kubectl_binary, wantlist=True) }}"
- name: Install kubectl
block:
- ansible.builtin.set_fact: cli="{{ kubectl_binary|combine(kubectl_binary) }}"
- ansible.builtin.include_role:
name: download-install-binary
when: install_kubectl|bool

- name: Download and install helm
ansible.builtin.include_role:
name: download-install-binary
loop: "{{ lookup('dict', helm_binary, wantlist=True) }}"

- name: Install helm
block:
- ansible.builtin.set_fact: cli="{{ helm_binary|combine(helm_binary) }}"
- ansible.builtin.include_role:
name: download-install-binary
when: install_helm|bool

0 comments on commit 7ab2fea

Please sign in to comment.