kubespray/roles/upgrade/post-upgrade/tasks/main.yml

7 lines
188 B
YAML
Raw Normal View History

2016-12-10 02:44:52 +08:00
---
- name: Uncordon node
command: "{{ bin_dir }}/kubectl uncordon {{ inventory_hostname }}"
2016-12-10 02:44:52 +08:00
delegate_to: "{{ groups['kube-master'][0] }}"
2018-02-09 23:39:21 +08:00
when:
- needs_cordoning|default(false)