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.

17 lines
573 B

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