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

21 lines
581 B
YAML
Raw Normal View History

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