Setting kubectl bin directory (#1635)

pull/1627/head
Seungkyu Ahn 2017-09-10 05:54:13 +09:00 committed by Matthew Mosesohn
parent 75b13caf0b
commit e8bde03a50
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
- name: See if node is in ready state
shell: "kubectl get nodes | grep {{ inventory_hostname }}"
shell: "{{ bin_dir }}/kubectl get nodes | grep {{ inventory_hostname }}"
register: kubectl_nodes
delegate_to: "{{ groups['kube-master'][0] }}"
failed_when: false