mirror of
https://git.libreschool.org/paspo/brasatore.git
synced 2024-11-22 22:28:44 +00:00
42 lines
767 B
YAML
42 lines
767 B
YAML
---
|
|
|
|
- name: IPXE dnsmasq
|
|
template:
|
|
src: dnsmasq/pxe
|
|
dest: /etc/dnsmasq.d/pxe
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
become: true
|
|
notify: dnsmasq_restart
|
|
|
|
- name: IPXE bios firmware
|
|
ansible.builtin.file:
|
|
src: /usr/lib/ipxe/undionly.kpxe
|
|
dest: /srv/tftp/undionly.kpxe
|
|
state: link
|
|
become: true
|
|
|
|
- name: IPXE efi firmware
|
|
ansible.builtin.file:
|
|
src: /usr/lib/ipxe/ipxe.efi
|
|
dest: /srv/tftp/ipxe.efi
|
|
state: link
|
|
become: true
|
|
|
|
- name: IPXE memdisk
|
|
ansible.builtin.file:
|
|
src: /usr/lib/syslinux/memdisk
|
|
dest: /srv/pxe/memdisk
|
|
state: link
|
|
become: true
|
|
|
|
- name: IPXE boot menu
|
|
copy:
|
|
src: ../../../boot.ipxe
|
|
dest: /srv/pxe/boot.ipxe
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
become: true
|