From b68854f79d5b777ea7f8a0ff9625c4e0b28faa65 Mon Sep 17 00:00:00 2001 From: Atoms Date: Mon, 9 Apr 2018 13:19:26 +0300 Subject: [PATCH] fix kubectl download location and kubectl.sh helper owner/group remove --- roles/kubernetes/client/tasks/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/kubernetes/client/tasks/main.yml b/roles/kubernetes/client/tasks/main.yml index cf70b4995..d34131a3a 100644 --- a/roles/kubernetes/client/tasks/main.yml +++ b/roles/kubernetes/client/tasks/main.yml @@ -55,7 +55,7 @@ - name: Copy kubectl binary to ansible host fetch: src: "{{ bin_dir }}/kubectl" - dest: "{{ bin_dir }}/kubectl" + dest: "{{ artifacts_dir }}/kubectl" flat: yes validate_checksum: no become: no @@ -68,8 +68,6 @@ #!/bin/bash kubectl --kubeconfig=admin.conf $@ dest: "{{ artifacts_dir }}/kubectl.sh" - owner: root - group: root mode: 0755 become: no run_once: yes