2016-02-09 16:16:16 +00:00
|
|
|
---
|
2018-01-29 11:37:48 +00:00
|
|
|
- import_tasks: seed.yml
|
2017-07-26 16:09:34 +00:00
|
|
|
when: weave_mode_seed
|
|
|
|
|
2016-09-26 09:02:19 +00:00
|
|
|
- name: Weave | Copy cni plugins from hyperkube
|
2016-12-23 14:44:44 +00:00
|
|
|
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /bin/cp -r /opt/cni/bin/. /cnibindir/"
|
2016-09-26 09:02:19 +00:00
|
|
|
register: cni_task_result
|
|
|
|
until: cni_task_result.rc == 0
|
|
|
|
retries: 4
|
|
|
|
delay: "{{ retry_stagger | random + 3 }}"
|
|
|
|
changed_when: false
|
2017-10-05 07:43:04 +00:00
|
|
|
tags:
|
|
|
|
- hyperkube
|
|
|
|
- upgrade
|
2016-09-26 09:02:19 +00:00
|
|
|
|
2017-01-31 15:47:27 +00:00
|
|
|
- name: Weave | Create weave-net manifest
|
2016-02-09 16:16:16 +00:00
|
|
|
template:
|
2017-01-31 15:47:27 +00:00
|
|
|
src: weave-net.yml.j2
|
|
|
|
dest: "{{ kube_config_dir }}/weave-net.yml"
|
2017-01-10 14:47:39 +00:00
|
|
|
register: weave_manifest
|