Merge pull request #2632 from Atoms/permission_fix

fix kubectl download location and kubectl.sh helper owner/group remove
This commit is contained in:
Aivars Sterns 2018-04-09 15:33:04 +03:00 committed by GitHub
commit ecda4e3a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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