From 9df55a58921412e10a8bc4ac7dd0c85b1b66922b Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 25 Apr 2022 22:12:17 +0200 Subject: [PATCH] Delete debugging;Copy dict --- playbook.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: