25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.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. {{ lookup('template','lb-config-args.j2') }}
  15. args:
  16. chdir: "{{ live_build_directory }}"
  17. - name: root user
  18. import_role:
  19. name: root_user
  20. vars:
  21. root_target_directory: "{{ live_build_directory }}/config/includes.chroot/"
  22. - name: include common packages
  23. template:
  24. src: common.list.chroot.j2
  25. dest: "{{ live_build_directory }}/config/package-lists/common.list.chroot"
  26. - name: include desktop packages
  27. template:
  28. src: desktop.list.chroot.j2
  29. dest: "{{ live_build_directory }}/config/package-lists/desktop.list.chroot"
  30. - name: include custom packages
  31. template:
  32. src: custom.list.chroot.j2
  33. dest: "{{ live_build_directory }}/config/package-lists/custom.list.chroot"
  34. when: live_build_custom_packages is defined
  35. - name: debian-installer installer includes directory
  36. file:
  37. path: "{{ live_build_directory }}/config/includes.installer"
  38. state: directory
  39. - name: debian-installer preseed
  40. template:
  41. src: preseed.cfg.j2
  42. dest: "{{ live_build_directory }}/config/includes.installer/preseed.cfg"