From 019e6127b2575fcb5c438b87f9257f59842ab55a Mon Sep 17 00:00:00 2001 From: kimsehwan96 Date: Wed, 24 Jan 2024 15:38:35 +0900 Subject: [PATCH] Fix typo mistake in roles/kubernetes/control-plane/tasks/define-first-kube-control.yml - Fix 'Set fact joined_control_panes' into 'Set fact joined_control_planes' --- .../control-plane/tasks/define-first-kube-control.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/control-plane/tasks/define-first-kube-control.yml b/roles/kubernetes/control-plane/tasks/define-first-kube-control.yml index 64e2de785c7..36996da2e89 100644 --- a/roles/kubernetes/control-plane/tasks/define-first-kube-control.yml +++ b/roles/kubernetes/control-plane/tasks/define-first-kube-control.yml @@ -6,7 +6,7 @@ ignore_errors: yes changed_when: false -- name: Set fact joined_control_panes +- name: Set fact joined_control_planes set_fact: joined_control_planes: "{{ ((kube_control_planes_raw.stdout | from_json)['items']) | default([]) | map(attribute='metadata') | map(attribute='name') | list }}" delegate_to: item