Refine templating
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-07-06 11:55:29 +02:00
parent 7fb0e80537
commit 77e0f7b7cb

View File

@ -25,9 +25,9 @@
- name: Inject chart values into ansible var files
ansible.builtin.blockinfile:
path: /opt/firstboot/ansible/vars/metacluster.yml
block: |
{{ item.key }}:
{{ item.value.helm.chart_values | default(omit) }}
block: >2
{{ item.key }}:
{{ item.value.helm.chart_values | default(omit) }}
marker: "# {mark} ANSIBLE MANAGED BLOCK -- {{ item.key }}"
loop: "{{ lookup('ansible.builtin.dict', components) }}"
loop_control: