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.

22 lines
644 B

  1. ---
  2. - name: Weave | Copy cni plugins from hyperkube
  3. command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /bin/cp -rf /opt/cni/bin/. /cnibindir/"
  4. register: cni_task_result
  5. until: cni_task_result.rc == 0
  6. retries: 4
  7. delay: "{{ retry_stagger | random + 3 }}"
  8. changed_when: false
  9. tags:
  10. - hyperkube
  11. - upgrade
  12. - name: Weave | Create manifest
  13. template:
  14. src: weave-net.yml.j2
  15. dest: "{{ kube_config_dir }}/weave-net.yml"
  16. - name: Weave | Fix nodePort for Weave
  17. template:
  18. src: 00-weave.conflist.j2
  19. dest: /etc/cni/net.d/00-weave.conflist