--- - name: Register a listing of all created iPXE bootloaders command: ls -I checksums.txt {{ netbootxyz_root }}/ipxe/ register: netboot_disks - name: Generate date command: date register: current_date - name: Gather stat listing of directory command: sha256sum -b {{ item }} with_items: - "{{ netboot_disks.stdout_lines }}" args: chdir: "{{ netbootxyz_root }}/ipxe/" register: netboot_disks_stat - name: Generate ipxe disk checksums template: src: checksums.txt.j2 dest: "{{ netbootxyz_root }}/ipxe/checksums.txt" - name: Generate netboot.xyz index template template: src: index.html.j2 dest: "{{ netbootxyz_root }}/index.html"