From 0ccb2dcdc7502b5d72bf10797e3e3ce1a3478bd1 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 25 Apr 2022 21:48:04 +0200 Subject: [PATCH] Test dict logic --- playbook.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/playbook.yml b/playbook.yml index b7d7673..b574f38 100644 --- a/playbook.yml +++ b/playbook.yml @@ -160,9 +160,6 @@ retries: 3 delay: 30 - - ansible.builtin.debug: - var: cluster - - block: - name: Additional nodes -- Install K3s binary @@ -184,9 +181,7 @@ tasks: - ansible.builtin.debug: - var: cluster - - ansible.builtin.debug: - var: hostvars + msg: "{{ ( lookup('dict', hostvars) ).key }}" - name: Add Helm chart repositories kubernetes.core.helm_repository: