1234567891011121314151617181920212223242526272829303132333435363738 |
- ---
- - name: Register a listing of all created iPXE bootloaders
- command: ls -I {{ checksums_filename }} {{ netbootxyz_root }}/ipxe/
- register: netboot_disks
- tags:
- - skip_ansible_lint
- - name: Generate date
- command: date
- register: current_date
- tags:
- - skip_ansible_lint
- - 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
- tags:
- - skip_ansible_lint
- - name: Generate ipxe disk checksums
- template:
- src: checksums.txt.j2
- dest: "{{ netbootxyz_root }}/ipxe/{{ checksums_filename }}"
- - name: Generate site name banner for index
- shell: toilet -f standard {{ site_name }} --html | grep span
- register: index_title
- tags:
- - skip_ansible_lint
- - name: Generate netboot.xyz index template
- template:
- src: index.html.j2
- dest: "{{ netbootxyz_root }}/index.html"
|