Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

103 Zeilen
2.9KB

  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. copy: "{{ live_build_common_packages | unique | join('\n') }}"
  52. content: config/package-lists/common.list.chroot.j2
  53. dest: "{{ live_build_directory }}/config/package-lists/common.list.chroot"
  54. - name: include desktop packages
  55. copy:
  56. content: "{{ live_build_desktop_packages | unique | join('\n') }}"
  57. dest: "{{ live_build_directory }}/config/package-lists/desktop.list.chroot"
  58. when: live_build_desktop
  59. - name: include debian-installer-launcher package
  60. copy:
  61. content: debian-installer-launcher
  62. dest: "{{ live_build_directory }}/config/package-lists/debian-installer-launcher.list.chroot"
  63. when: live_build_desktop
  64. - name: include custom packages
  65. copy:
  66. content: "{{ live_build_custom_packages | unique | join('\n') }}"
  67. dest: "{{ live_build_directory }}/config/package-lists/custom.list.chroot"
  68. when: live_build_custom_packages is defined
  69. - name: debian-installer installer includes directory
  70. file:
  71. path: "{{ live_build_directory }}/config/includes.installer"
  72. state: directory
  73. - name: debian-installer preseed
  74. template:
  75. src: config/includes.installer/preseed.cfg.j2
  76. dest: "{{ live_build_directory }}/config/includes.installer/preseed.cfg"
  77. - name: linux-surface
  78. copy:
  79. src: linux-surface/
  80. dest: "{{ live_build_directory }}"
  81. when: live_build_linux_surface