use rsync instead of command

This commit is contained in:
Smaine Kahlouch
2016-01-23 18:26:07 +01:00
parent 87d8d87c6e
commit 4984b57aa2
8 changed files with 47 additions and 20 deletions

View File

@@ -45,6 +45,11 @@
src: manifests/kube-proxy.manifest.j2
dest: "{{ kube_manifest_dir }}/kube-proxy.manifest"
- name: Restart kubelet if binary changed
command: /bin/true
notify: restart kubelet
when: kubelet_copy.stdout_lines
- name: Enable kubelet
service:
name: kubelet