c12s-kubespray/roles/kubernetes/node/tasks/install.yml

14 lines
339 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
- name: Write kubelet systemd init file
template: src=kubelet.service.j2 dest=/etc/systemd/system/kubelet.service backup=yes
notify: restart kubelet
2015-10-03 20:19:50 +00:00
- name: Install kubelet binary
2015-11-20 10:18:37 +00:00
copy:
src={{ local_release_dir }}/kubernetes/bin/kubelet
2015-10-03 20:19:50 +00:00
dest={{ bin_dir }}
owner=kube
mode=u+x
notify:
- restart kubelet