Merge pull request #2632 from Atoms/permission_fix
fix kubectl download location and kubectl.sh helper owner/group removepull/2636/head
commit
ecda4e3a8c
|
@ -55,7 +55,7 @@
|
||||||
- name: Copy kubectl binary to ansible host
|
- name: Copy kubectl binary to ansible host
|
||||||
fetch:
|
fetch:
|
||||||
src: "{{ bin_dir }}/kubectl"
|
src: "{{ bin_dir }}/kubectl"
|
||||||
dest: "{{ bin_dir }}/kubectl"
|
dest: "{{ artifacts_dir }}/kubectl"
|
||||||
flat: yes
|
flat: yes
|
||||||
validate_checksum: no
|
validate_checksum: no
|
||||||
become: no
|
become: no
|
||||||
|
@ -68,8 +68,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
kubectl --kubeconfig=admin.conf $@
|
kubectl --kubeconfig=admin.conf $@
|
||||||
dest: "{{ artifacts_dir }}/kubectl.sh"
|
dest: "{{ artifacts_dir }}/kubectl.sh"
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0755
|
mode: 0755
|
||||||
become: no
|
become: no
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
Loading…
Reference in New Issue