mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-04-21 01:17:04 +02:00
no need inventory_hostname_short
This commit is contained in:
parent
2124be557d
commit
d5d3813f8c
@ -106,7 +106,7 @@
|
|||||||
loop: "{{ groups['k8s_control_plane'] }}"
|
loop: "{{ groups['k8s_control_plane'] }}"
|
||||||
|
|
||||||
- name: Allow pods on control plane (if configured).
|
- 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
|
register: taint_removed
|
||||||
until: >
|
until: >
|
||||||
("untainted" in taint_removed.stdout) or
|
("untainted" in taint_removed.stdout) or
|
||||||
|
Loading…
Reference in New Issue
Block a user