jinja2 != python ...
authorChristian Pointner <equinox@realraum.at>
Sat, 12 Jan 2019 23:22:37 +0000 (00:22 +0100)
committerChristian Pointner <equinox@realraum.at>
Sat, 12 Jan 2019 23:22:37 +0000 (00:22 +0100)
ansible/usb-install.yml

index 985e560..9662520 100644 (file)
@@ -49,7 +49,7 @@
               LABEL linux
                KERNEL linux
                INITRD initrd.preseed.gz
-               APPEND install {{ (install.kernel_cmdline or []).join(' ') }}
+               APPEND install {{ (install.kernel_cmdline | default([])) | join(' ') }}
 
         - name: Make the USB disk bootable
           pause: