diff --git a/playbook.yml b/playbook.yml index 5c2b7ae..361b865 100644 --- a/playbook.yml +++ b/playbook.yml @@ -180,8 +180,9 @@ - applications.k3s.yml tasks: - - ansible.builtin.debug: - msg: "{{ ( lookup('dict', hostvars) )[0] }}" + - name: Retrieve cluster dict from initial node + ansible.builtin.set_fact: + cluster: "{{ ( lookup('dict', hostvars) )[0].cluster }}" - name: Add Helm chart repositories kubernetes.core.helm_repository: