diff --git a/roles/kubernetes/client/tasks/main.yml b/roles/kubernetes/client/tasks/main.yml index 3877998f1..02dc1a6fa 100644 --- a/roles/kubernetes/client/tasks/main.yml +++ b/roles/kubernetes/client/tasks/main.yml @@ -103,7 +103,7 @@ copy: content: | #!/bin/bash - kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@ + ./kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@ dest: "{{ artifacts_dir }}/kubectl.sh" mode: 0755 become: no