Debug dict keys
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
9df55a5892
commit
5c8adab6cb
@ -181,8 +181,12 @@
|
|||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Retrieve cluster dict from initial node
|
- name: Retrieve cluster dict from initial node
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.debug:
|
||||||
cluster: "{{ ( lookup('dict', hostvars) )[0].cluster }}"
|
msg: "{{ ( hostvars.keys() )[0].cluster }}"
|
||||||
|
- ansible.builtin.set_fact:
|
||||||
|
cluster: "{{ ( lookup('dict', hostvars) )[0].value.cluster }}"
|
||||||
|
- ansible.builtin.debug:
|
||||||
|
var: cluster
|
||||||
|
|
||||||
- name: Add Helm chart repositories
|
- name: Add Helm chart repositories
|
||||||
kubernetes.core.helm_repository:
|
kubernetes.core.helm_repository:
|
||||||
|
Loading…
Reference in New Issue
Block a user