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

7 lines
273 B
YAML
Raw Normal View History

2016-12-09 18:44:52 +00:00
---
- name: Uncordon node
command: "{{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf uncordon {{ kube_override_hostname|default(inventory_hostname) }}"
delegate_to: "{{ groups['kube_control_plane'][0] }}"
2018-02-09 15:39:21 +00:00
when:
- needs_cordoning|default(false)