...
 
Commits (2)
......@@ -30,6 +30,8 @@
copy:
src: "{{ item }}"
dest: "{{ '%s/%s' | format(pxelinux_root_path, item) }}"
owner: "{{ _pxelinux_file_owner }}"
group: "{{ _pxelinux_file_group }}"
mode: 0644
with_items:
- "chain.c32"
......
---
- import_tasks: _init.yml
- name: set image file for host {{ pxelinux_image_boothost }}
copy:
src: "{{ '%s/pxelinux.cfg/%s-%s-%s' | format(pxelinux_root_path, pxelinux_image_distribution, pxelinux_image_release, pxelinux_image_architecture) }}"
dest: "{{ '%s/pxelinux.cfg/01-%s' | format(pxelinux_root_path, hostvars[pxelinux_image_boothost].network.devices[host.network.control_device].mac | replace(':','-')) }}"
owner: "{{ _pxelinux_file_owner }}"
group: "{{ _pxelinux_file_group }}"
mode: 0644
remote_src: yes
......