no need inventory_hostname_short

This commit is contained in:
Michael McCulloch 2024-02-05 08:10:37 -07:00
parent 2124be557d
commit d5d3813f8c

View File

@ -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