summaryrefslogtreecommitdiff
path: root/common/usb-install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common/usb-install.yml')
-rw-r--r--common/usb-install.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/usb-install.yml b/common/usb-install.yml
index 729b9387..43dbe257 100644
--- a/common/usb-install.yml
+++ b/common/usb-install.yml
@@ -30,14 +30,14 @@
- when: pathcheck.stat.exists
block:
- name: Copy generated files to the USB drive
- copy:
- src: "{{ item }}"
- dest: "{{ usbdrive_path }}/"
- with_items:
+ loop:
- "{{ artifacts_dir }}/initrd.preseed.gz"
- "{{ global_cache_dir }}/debian-installer/{{ install_distro }}-{{ install_codename }}/{{ install.arch | default('amd64') }}/linux"
loop_control:
label: "{{ item | basename }}"
+ copy:
+ src: "{{ item }}"
+ dest: "{{ usbdrive_path }}/"
- name: Generate syslinux configuration for BIOS boot
copy: