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.

29 lines
629 B

  1. ---
  2. - name: Download artifacts
  3. unarchive:
  4. src: "{{ kata_containers_release_url }}"
  5. dest: /
  6. remote_src: true
  7. - name: Create config directory
  8. file:
  9. path: "{{ kata_containers_config_dir }}"
  10. state: directory
  11. - name: Set configuration
  12. template:
  13. src: "{{ item }}.j2"
  14. dest: "{{ kata_containers_config_dir }}/{{ item }}"
  15. with_items:
  16. - configuration-qemu.toml
  17. - name: Set containerd bin
  18. vars:
  19. shim: "{{ item }}"
  20. template:
  21. dest: "{{ kata_containers_containerd_bin_dir }}/containerd-shim-kata-{{ item }}-v2"
  22. src: containerd-shim-kata-v2.j2
  23. mode: 0755
  24. with_items:
  25. - qemu