mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
Setting kubectl bin directory (#1635)
This commit is contained in:
committed by
Matthew Mosesohn
parent
75b13caf0b
commit
e8bde03a50
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user