Better fix for 77703a9d.
This commit is contained in:
parent
66b1abe521
commit
67d5fc22da
1 changed files with 5 additions and 13 deletions
|
@ -15,6 +15,11 @@
|
||||||
loop:
|
loop:
|
||||||
"{{ live_images }}"
|
"{{ live_images }}"
|
||||||
|
|
||||||
|
- name: make sure loop module is loaded
|
||||||
|
modprobe:
|
||||||
|
name: loop
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: loop mount iso images
|
- name: loop mount iso images
|
||||||
mount:
|
mount:
|
||||||
path: "/var/lib/tftpboot/d-i/n-live/{{ item.name }}"
|
path: "/var/lib/tftpboot/d-i/n-live/{{ item.name }}"
|
||||||
|
@ -24,19 +29,6 @@
|
||||||
state: mounted
|
state: mounted
|
||||||
loop:
|
loop:
|
||||||
"{{ live_images }}"
|
"{{ live_images }}"
|
||||||
when: not run_in_installer|default(false)|bool
|
|
||||||
notify: rebuild di-netboot menu
|
|
||||||
|
|
||||||
- name: loop mount iso images after reboot
|
|
||||||
mount:
|
|
||||||
path: "/var/lib/tftpboot/d-i/n-live/{{ item.name }}"
|
|
||||||
src: "/var/cache/di-netboot-assistant/{{ item.iso }}"
|
|
||||||
fstype: iso9660
|
|
||||||
opts: loop,ro,nofail
|
|
||||||
state: present
|
|
||||||
loop:
|
|
||||||
"{{ live_images }}"
|
|
||||||
when: run_in_installer|default(false)|bool
|
|
||||||
notify: rebuild di-netboot menu
|
notify: rebuild di-netboot menu
|
||||||
|
|
||||||
- name: prepare http downloads
|
- name: prepare http downloads
|
||||||
|
|
Loading…
Add table
Reference in a new issue