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.

36 lines
816 B

  1. ---
  2. - name: nerdctl | Download nerdctl
  3. include_tasks: "../../../download/tasks/download_file.yml"
  4. vars:
  5. download: "{{ download_defaults | combine(downloads.nerdctl) }}"
  6. - name: nerdctl | Copy nerdctl binary from download dir
  7. copy:
  8. src: "{{ local_release_dir }}/nerdctl"
  9. dest: "{{ bin_dir }}/nerdctl"
  10. mode: 0755
  11. remote_src: true
  12. owner: root
  13. group: root
  14. become: true
  15. notify:
  16. - Get nerdctl completion
  17. - Install nerdctl completion
  18. - name: nerdctl | Create configuration dir
  19. file:
  20. path: /etc/nerdctl
  21. state: directory
  22. mode: 0755
  23. owner: root
  24. group: root
  25. become: true
  26. - name: nerdctl | Install nerdctl configuration
  27. template:
  28. src: nerdctl.toml.j2
  29. dest: /etc/nerdctl/nerdctl.toml
  30. mode: 0644
  31. owner: root
  32. group: root
  33. become: true