feeb701c13
* respect kube_override_hostname during removal/upgrade * Use hostvars in loop
6 lines
260 B
YAML
6 lines
260 B
YAML
---
|
|
- name: Uncordon node
|
|
command: "{{ bin_dir }}/kubectl --kubeconfig /etc/kubernetes/admin.conf uncordon {{ kube_override_hostname|default(inventory_hostname) }}"
|
|
delegate_to: "{{ groups['kube-master'][0] }}"
|
|
when:
|
|
- needs_cordoning|default(false)
|