mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-17 17:07:36 -02:30
change tests, full path of kubectl binary
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
tasks:
|
||||
|
||||
- name: Get pod names
|
||||
shell: "kubectl get pods -o json"
|
||||
shell: "/usr/local/bin/kubectl get pods -o json"
|
||||
register: pods
|
||||
|
||||
- set_fact:
|
||||
@@ -18,4 +18,4 @@
|
||||
|
||||
|
||||
- name: Ping between pods is working
|
||||
shell: "kubectl exec {{pod_names[0]}} -- ping -c 4 {{ pod_ips[1] }}"
|
||||
shell: "/usr/local/bin/kubectl exec {{pod_names[0]}} -- ping -c 4 {{ pod_ips[1] }}"
|
||||
|
||||
Reference in New Issue
Block a user