Move squashfs generation to fai-nfsroot.yml

This commit is contained in:
rockstable 2022-12-13 19:32:41 +01:00
parent b959e6eab4
commit bc27777a70
1 changed files with 0 additions and 20 deletions

View File

@ -39,26 +39,6 @@
tags:
- ipxe
- name: "Check for generated squashfs image in '{{ fai_squashfs_path }}'"
ansible.builtin.stat:
path: "{{ fai_squashfs_path }}"
register: squashfs
tags:
- ipxe
- fai_squashfs_stat
- name: "Generate a downloadable squashfs of root filesystem"
become: true
ansible.builtin.shell: >
fai-cd -f -M -S "{{ fai_squashfs_path }}"
-d "{{ http_mirror_fai_profiles_url }}"
when:
- not squashfs.stat.exists or
fai_nfsroot_force_rebuild
tags:
- ipxe
- fai_squashfs_generate
- name: "Copy additional files to '{{ ipxe_dir_download }}'"
become: true
ansible.builtin.copy: