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

7 lines
181 B
YAML

---
- name: Uncordon node
command: "{{ bin_dir }}/kubectl uncordon {{ ansible_hostname }}"
delegate_to: "{{ groups['kube-master'][0] }}"
when: needs_cordoning|default(false)