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.

29 lines
656B

  1. ---
  2. - name: isolinux.bin
  3. copy:
  4. src: /usr/lib/ISOLINUX/isolinux.bin
  5. remote_src: yes
  6. dest: "{{debian_installer_directory}}/isolinux.bin"
  7. - name: ldlinux.c32
  8. copy:
  9. src: /usr/lib/syslinux/modules/bios/ldlinux.c32
  10. remote_src: yes
  11. dest: "{{debian_installer_directory}}/ldlinux.c32"
  12. - name: isolinux.cfg
  13. template:
  14. src: isolinux.cfg.j2
  15. dest: "{{debian_installer_directory}}/isolinux.cfg"
  16. - name: generate iso image
  17. command: genisoimage
  18. -o {{debian_installer_directory}}/installer.iso
  19. -b isolinux.bin
  20. -c boot.cat
  21. -no-emul-boot
  22. -boot-load-size 4
  23. -boot-info-table
  24. {{debian_installer_directory}}