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.

24 lines
567 B

  1. ---
  2. - name: kube-router | Create annotations
  3. include: annotate.yml
  4. tags: annotate
  5. - name: kube-roter | Set cni directory permissions
  6. file:
  7. path: /opt/cni/bin
  8. state: directory
  9. owner: kube
  10. recurse: true
  11. mode: 0755
  12. - name: kube-router | Copy cni plugins
  13. unarchive:
  14. src: "{{ local_release_dir }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
  15. dest: "/opt/cni/bin"
  16. mode: 0755
  17. remote_src: yes
  18. - name: kube-router | Create manifest
  19. template:
  20. src: kube-router.yml.j2
  21. dest: "{{ kube_config_dir }}/kube-router.yml"