Merge pull request #3091 from mauromedda/master

Add the path to kubectl binary
This commit is contained in:
Rong Zhang 2018-08-13 10:04:59 +08:00 committed by GitHub
commit 36e8683cf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
---
- name: Delete node
command: kubectl delete node {{ item }}
command: "{{ bin_dir}}/kubectl delete node {{ item }}"
with_items:
- "{{ node.split(',') | default(groups['kube-node']) }}"
delegate_to: "{{ groups['kube-master']|first }}"