change tests, full path of kubectl binary

This commit is contained in:
Smana
2016-02-13 14:47:53 +01:00
parent 60d6195a9e
commit 2feac2956a
2 changed files with 4 additions and 4 deletions

View File

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