Fix helper script to refer to admin.conf as relative path (#3738)
parent
b4eb25197b
commit
daa290100c
|
@ -66,7 +66,7 @@
|
|||
copy:
|
||||
content: |
|
||||
#!/bin/bash
|
||||
kubectl --kubeconfig=admin.conf $@
|
||||
kubectl --kubeconfig=${BASH_SOURCE%/*}/admin.conf $@
|
||||
dest: "{{ artifacts_dir }}/kubectl.sh"
|
||||
mode: 0755
|
||||
become: no
|
||||
|
|
Loading…
Reference in New Issue