From d5d3813f8c8e1ca8d527e44ccfcc2af3e09054c9 Mon Sep 17 00:00:00 2001 From: Michael McCulloch Date: Mon, 5 Feb 2024 08:10:37 -0700 Subject: [PATCH] no need inventory_hostname_short --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 2e8fbcc..71a93ce 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -106,7 +106,7 @@ loop: "{{ groups['k8s_control_plane'] }}" - name: Allow pods on control plane (if configured). - command: "kubectl taint nodes {{ item.inventory_hostname_short }} node-role.kubernetes.io/control-plane-" + command: "kubectl taint nodes {{ item }} node-role.kubernetes.io/control-plane-" register: taint_removed until: > ("untainted" in taint_removed.stdout) or