Move squashfs generation to fai-nfsroot.yml
This commit is contained in:
parent
b959e6eab4
commit
bc27777a70
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue