Merge pull request #3091 from mauromedda/master

Add the path to kubectl binary
pull/3092/merge
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
1 changed files with 1 additions and 1 deletions

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 }}"