From 8703c6f5b00bd8aaeb81abd172b6ed26a5e81cc9 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 25 Apr 2022 21:24:36 +0200 Subject: [PATCH] Fix filter --- playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index 5babd1b..0981a00 100644 --- a/playbook.yml +++ b/playbook.yml @@ -122,7 +122,7 @@ - name: Initial node -- Store token ansible.builtin.set_fact: - cluster: "{{ cluster | combine( { 'token': ( k3s_token.content | b64decode | trim ) }, { 'kubeconfig': ( k3s_kubeconfig.stdout | from_json ) } ) }}" + cluster: "{{ cluster | combine( { 'token': ( k3s_token.content | b64decode | trim ) }, { 'kubeconfig': ( k3s_kubeconfig.stdout | from_yamlS ) } ) }}" - block: