2016-12-10 02:44:52 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Uncordon node
|
2017-02-15 00:08:44 +08:00
|
|
|
command: "{{ bin_dir }}/kubectl uncordon {{ ansible_hostname }}"
|
2016-12-10 02:44:52 +08:00
|
|
|
delegate_to: "{{ groups['kube-master'][0] }}"
|
2017-03-22 21:19:27 +08:00
|
|
|
when: needs_cordoning|default(false)
|