From f68d8f3757c17452b299d5f3c056237b66bdebec Mon Sep 17 00:00:00 2001
From: Antoine Legrand <antoine.legrand@arkena.com>
Date: Tue, 19 Jan 2016 14:09:21 +0100
Subject: [PATCH] Add seT_remote_user in synchronize

---
 roles/kubernetes/master/tasks/main.yml  | 1 +
 roles/kubernetes/node/tasks/install.yml | 2 ++
 roles/network_plugin/tasks/calico.yml   | 1 +
 3 files changed, 4 insertions(+)

diff --git a/roles/kubernetes/master/tasks/main.yml b/roles/kubernetes/master/tasks/main.yml
index ae7c5d8cc..9e50200f6 100644
--- a/roles/kubernetes/master/tasks/main.yml
+++ b/roles/kubernetes/master/tasks/main.yml
@@ -11,6 +11,7 @@
      archive: no
      checksum: yes
      times: yes
+     set_remote_user: false
   delegate_to: "{{ groups['downloader'][0] }}"
 
 - name: Perms kubectl binary
diff --git a/roles/kubernetes/node/tasks/install.yml b/roles/kubernetes/node/tasks/install.yml
index 6fd5b1e92..9fa4398f5 100644
--- a/roles/kubernetes/node/tasks/install.yml
+++ b/roles/kubernetes/node/tasks/install.yml
@@ -23,6 +23,7 @@
      dest: "{{ bin_dir }}/kubelet"
      times: yes
      archive: no
+     set_remote_user: false
   delegate_to: "{{ groups['downloader'][0] }}"
   notify:
     - restart kubelet
@@ -40,6 +41,7 @@
     dest: "/usr/libexec/kubernetes/kubelet-plugins/net/exec/calico/calico"
     times: yes
     archive: no
+    set_remote_user: false
   delegate_to: "{{ groups['downloader'][0] }}"
   when: kube_network_plugin == "calico"
   notify: restart kubelet
diff --git a/roles/network_plugin/tasks/calico.yml b/roles/network_plugin/tasks/calico.yml
index b7b53a2e1..790642399 100644
--- a/roles/network_plugin/tasks/calico.yml
+++ b/roles/network_plugin/tasks/calico.yml
@@ -5,6 +5,7 @@
     dest: "{{ bin_dir }}/calicoctl"
     archive: no
     times: yes
+    set_remote_user: false
   delegate_to: "{{ groups['downloader'][0] }}"
   notify: restart calico-node
 
-- 
GitLab