2023-10-26 21:31:46 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: IPXE dnsmasq
|
|
|
|
template:
|
|
|
|
src: dnsmasq/pxe
|
|
|
|
dest: /etc/dnsmasq.d/pxe
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: "0644"
|
|
|
|
become: true
|
2023-10-27 10:11:31 +00:00
|
|
|
notify: dnsmasq_restart
|
2023-10-26 21:31:46 +00:00
|
|
|
|
|
|
|
- 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
|
2023-10-27 10:05:20 +00:00
|
|
|
|
2023-10-27 12:01:09 +00:00
|
|
|
- name: IPXE iso md5sums
|
2023-10-27 10:05:20 +00:00
|
|
|
copy:
|
2023-10-27 12:01:09 +00:00
|
|
|
src: md5sums.txt
|
|
|
|
dest: /srv/pxe/iso/md5sums.txt
|
2023-10-27 10:05:20 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: "0644"
|
|
|
|
become: true
|