From d6842eff967d4c9d59e377320e45eb4be2cfbd7e Mon Sep 17 00:00:00 2001 From: djpbessems Date: Wed, 20 Apr 2022 17:42:57 +0200 Subject: [PATCH] Testing dictionary #2 --- playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index b87fe1e..c63f705 100644 --- a/playbook.yml +++ b/playbook.yml @@ -153,7 +153,7 @@ # testing - ansible.builtin.debug: - msg: "{{ lookup(hostvars[ansible_play_hosts[0]], cluster) }}" + msg: "{{ (hostvars[ansible_play_hosts[0]]).cluster }}" - name: Additional nodes -- Install K3s binary ansible.builtin.shell: cmd: "curl -sfL https://get.k3s.io | sh -s - server --disable local-storage,traefik"