Simplify loop with optional dict
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
27e6fb0b92
commit
bcb0f0f164
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user