Making status and detection mo betta

This commit is contained in:
Brad Beam
2018-02-09 09:39:21 -06:00
parent 60460c025c
commit 03bb729fea
2 changed files with 19 additions and 4 deletions

View File

@@ -2,4 +2,5 @@
- name: Uncordon node
command: "{{ bin_dir }}/kubectl uncordon {{ inventory_hostname }}"
delegate_to: "{{ groups['kube-master'][0] }}"
when: needs_cordoning|default(false)
when:
- needs_cordoning|default(false)