Add seT_remote_user in synchronize
This commit is contained in:
parent
9b083b62cf
commit
f68d8f3757
3 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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…
Reference in a new issue