summaryrefslogtreecommitdiff
path: root/common/usb-install.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-06-01 17:52:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2019-06-01 17:52:28 +0200
commit22d4ec550391e5e013e46347a908179b0c769ff3 (patch)
treefdb33ea899b753295e29f433d35cf77f8eee6464 /common/usb-install.yml
parentfix cloud-install role (diff)
parentwith_dict -> loop (diff)
Merge branch 'no-more-with'
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: