Browse Source

Merge pull request #3091 from mauromedda/master

Add the path to kubectl binary
pull/3092/merge
Rong Zhang 6 years ago
committed by GitHub
parent
commit
36e8683cf5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/remove-node/post-remove/tasks/main.yml

2
roles/remove-node/post-remove/tasks/main.yml

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

Loading…
Cancel
Save