Browse Source

Add seT_remote_user in synchronize

pull/71/head
Antoine Legrand 8 years ago
parent
commit
f68d8f3757
3 changed files with 4 additions and 0 deletions
  1. 1
      roles/kubernetes/master/tasks/main.yml
  2. 2
      roles/kubernetes/node/tasks/install.yml
  3. 1
      roles/network_plugin/tasks/calico.yml

1
roles/kubernetes/master/tasks/main.yml

@ -11,6 +11,7 @@
archive: no archive: no
checksum: yes checksum: yes
times: yes times: yes
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}" delegate_to: "{{ groups['downloader'][0] }}"
- name: Perms kubectl binary - name: Perms kubectl binary

2
roles/kubernetes/node/tasks/install.yml

@ -23,6 +23,7 @@
dest: "{{ bin_dir }}/kubelet" dest: "{{ bin_dir }}/kubelet"
times: yes times: yes
archive: no archive: no
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}" delegate_to: "{{ groups['downloader'][0] }}"
notify: notify:
- restart kubelet - restart kubelet
@ -40,6 +41,7 @@
dest: "/usr/libexec/kubernetes/kubelet-plugins/net/exec/calico/calico" dest: "/usr/libexec/kubernetes/kubelet-plugins/net/exec/calico/calico"
times: yes times: yes
archive: no archive: no
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}" delegate_to: "{{ groups['downloader'][0] }}"
when: kube_network_plugin == "calico" when: kube_network_plugin == "calico"
notify: restart kubelet notify: restart kubelet

1
roles/network_plugin/tasks/calico.yml

@ -5,6 +5,7 @@
dest: "{{ bin_dir }}/calicoctl" dest: "{{ bin_dir }}/calicoctl"
archive: no archive: no
times: yes times: yes
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}" delegate_to: "{{ groups['downloader'][0] }}"
notify: restart calico-node notify: restart calico-node

Loading…
Cancel
Save