From f8ab68e40dda046171de02df6a7c12514f570bf8 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 25 May 2019 03:12:47 +0200 Subject: replace all with_items with loop --- common/usb-install.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/usb-install.yml') 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: -- cgit v1.2.3