- name: Fetch debian installer and bake initrd
hosts: "{{ hostname }}"
connection: local
+ gather_facts: no
vars_prompt:
- name: usbdrive_path
LABEL linux
KERNEL linux
INITRD initrd.preseed.gz
- APPEND install{% for opt,val in (install.kernel_cmdline | default({})).items() %} {{ opt }}={{ val }}{% endfor %}
+ APPEND install {{ (install.kernel_cmdline | default([])) | join(' ') }}
- name: Make the USB disk bootable
pause: