mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-03-24 00:21:06 +01:00
no need inventory_hostname_short
This commit is contained in:
parent
2124be557d
commit
d5d3813f8c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user