You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
604 B

  1. ---
  2. - import_tasks: seed.yml
  3. when: weave_mode_seed
  4. - name: Weave | Copy cni plugins from hyperkube
  5. 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/"
  6. register: cni_task_result
  7. until: cni_task_result.rc == 0
  8. retries: 4
  9. delay: "{{ retry_stagger | random + 3 }}"
  10. changed_when: false
  11. tags:
  12. - hyperkube
  13. - upgrade
  14. - name: Weave | Create weave-net manifest
  15. template:
  16. src: weave-net.yml.j2
  17. dest: "{{ kube_config_dir }}/weave-net.yml"
  18. register: weave_manifest