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
536 B

  1. ---
  2. - name: kube-router | 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 -prf /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: kube-router | Create manifest
  13. template:
  14. src: kube-router.yml.j2
  15. dest: "{{ kube_config_dir }}/kube-router.yml"