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.

15 lines
545 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 -r /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: [hyperkube, upgrade]
  10. - name: Weave | Create weave-net manifest
  11. template:
  12. src: weave-net.yml.j2
  13. dest: "{{ kube_config_dir }}/weave-net.yml"
  14. register: weave_manifest