Simplify loop with optional dict
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-26 14:28:04 +02:00
parent 27e6fb0b92
commit bcb0f0f164

View File

@ -181,6 +181,8 @@
- cluster.k3s.yml
tasks:
- block:
- name: Initialize tempfile
ansible.builtin.tempfile:
state: file
@ -221,7 +223,7 @@
create_namespace: yes
wait: yes
kubeconfig: "{{ kubeconfig.path }}"
values: "{{ item.values | default('omit', true) }}"
values: "{{ item.values | default({}) }}"
loop:
- name: cert-manager
ref: jetstack/cert-manager