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.

config.yaml 2.6KB

8 anni fa
8 anni fa
8 anni fa
2 anni fa
5 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
5 anni fa
8 anni fa
5 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. ---
  2. - name: remove config directory
  3. file:
  4. path: "{{ live_build_directory }}/config"
  5. state: absent
  6. - name: lb clean
  7. command:
  8. lb clean
  9. args:
  10. chdir: "{{ live_build_directory }}"
  11. - name: lb config
  12. command:
  13. lb config
  14. {% if live_build_distribution is defined %}
  15. --distribution "{{ live_build_distribution }}"
  16. {% endif %}
  17. --mirror-bootstrap "{{ debian_mirror }}"
  18. --mirror-chroot-security "{{ debian_security_mirror }}"
  19. --mirror-binary "{{ debian_mirror }}"
  20. --mirror-binary-security "{{ debian_security_mirror }}"
  21. {% if debian_nonfree_firmware %}
  22. --archive-areas "main contrib non-free"
  23. --firmware-chroot true
  24. {% endif %}
  25. {% if live_build_bootappend_live is defined %}
  26. --bootappend-live "{{ live_build_bootappend_live }}"
  27. {% endif %}
  28. {% if (debian_backports is defined) and (debian_backports == true) %}
  29. --backports true
  30. {% endif %}
  31. {% if debian_live_debian_installer is defined %}
  32. --debian-installer "{{ debian_live_debian_installer }}"
  33. --debian-installer-gui "{{ live_build_debian_installer_gui | ternary("true","false") }}"
  34. {% if debian_nonfree_firmware %}
  35. --firmware-binary true
  36. {% endif %}
  37. {% endif %}
  38. --iso-publisher "{{ live_build_iso_publisher }}"
  39. --debootstrap-options "--include=ca-certificates"
  40. {% if live_build_linux_surface %}
  41. --linux-flavours surface
  42. {% endif %}
  43. args:
  44. chdir: "{{ live_build_directory }}"
  45. - name: root user
  46. import_role:
  47. name: root_user
  48. vars:
  49. root_target_directory: "{{ live_build_directory }}/config/includes.chroot/"
  50. - name: include common packages
  51. template:
  52. src: config/package-lists/common.list.chroot.j2
  53. dest: "{{ live_build_directory }}/config/package-lists/common.list.chroot"
  54. - name: include desktop packages
  55. template:
  56. src: config/package-lists/desktop.list.chroot.j2
  57. dest: "{{ live_build_directory }}/config/package-lists/desktop.list.chroot"
  58. when: live_build_desktop
  59. - name: include custom packages
  60. template:
  61. src: config/package-lists/custom.list.chroot.j2
  62. dest: "{{ live_build_directory }}/config/package-lists/custom.list.chroot"
  63. when: live_build_custom_packages is defined
  64. - name: debian-installer installer includes directory
  65. file:
  66. path: "{{ live_build_directory }}/config/includes.installer"
  67. state: directory
  68. - name: debian-installer preseed
  69. template:
  70. src: config/includes.installer/preseed.cfg.j2
  71. dest: "{{ live_build_directory }}/config/includes.installer/preseed.cfg"
  72. - name: linux-surface
  73. copy:
  74. src: linux-surface/
  75. dest: "{{ live_build_directory }}"
  76. when: live_build_linux_surface