No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

84 líneas
2.3KB

  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 | default(false) }}"
  34. {% if debian_nonfree_firmware %}
  35. --firmware-binary true
  36. {% endif %}
  37. {% endif %}
  38. --iso-publisher "{{ live_build_iso_publisher }}"
  39. args:
  40. chdir: "{{ live_build_directory }}"
  41. - name: root user
  42. import_role:
  43. name: root_user
  44. vars:
  45. root_target_directory: "{{ live_build_directory }}/config/includes.chroot/"
  46. - name: include common packages
  47. template:
  48. src: config/package-lists/common.list.chroot.j2
  49. dest: "{{ live_build_directory }}/config/package-lists/common.list.chroot"
  50. - name: include desktop packages
  51. template:
  52. src: config/package-lists/desktop.list.chroot.j2
  53. dest: "{{ live_build_directory }}/config/package-lists/desktop.list.chroot"
  54. when: live_build_desktop
  55. - name: include custom packages
  56. template:
  57. src: config/package-lists/custom.list.chroot.j2
  58. dest: "{{ live_build_directory }}/config/package-lists/custom.list.chroot"
  59. when: live_build_custom_packages is defined
  60. - name: debian-installer installer includes directory
  61. file:
  62. path: "{{ live_build_directory }}/config/includes.installer"
  63. state: directory
  64. - name: debian-installer preseed
  65. template:
  66. src: config/includes.installer/preseed.cfg.j2
  67. dest: "{{ live_build_directory }}/config/includes.installer/preseed.cfg"