Add Gitea;Allow override of helm-chart basedir
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-06-27 16:32:25 +02:00
parent 0c01f024e9
commit 1842a08a39
3 changed files with 15 additions and 1 deletions

View File

@ -59,3 +59,8 @@
path: /opt/metacluster/container_images
state: absent
- name: Cleanup tempfile
ansible.builtin.file:
path: "{{ kubeconfig.path }}"
state: absent
when: kubeconfig.path is defined

View File

@ -24,7 +24,7 @@
- name: Parse helm charts for container images
ansible.builtin.shell:
cmd: "{{ item.value.helm.parse_logic }}"
chdir: /opt/metacluster/helm-charts/{{ item.key }}
chdir: /opt/metacluster/helm-charts/{{ item.value.helm.basedir | default(item.key) }}
register: containerimages
loop: "{{ lookup('ansible.builtin.dict', components) }}"
loop_control: