{% if (ansible_play_hosts_all | length) == 1 %} DEFAULT {{ install_hostname }} TIMEOUT 100 PROMPT 1 SAY ***************************************** SAY ** SAY ** Distro: {{ install_distro }} SAY ** Codename: {{ install_codename }} SAY ** SAY ** will be booting automated installer for {{ install_hostname }} in 10s ... SAY ** {% else %} DEFAULT menu.c32 TIMEOUT 0 PROMPT 0 MENU TITLE {{ install_distro }} / {{ install_codename }} {% endif %} {% for host in ansible_play_hosts_all %} LABEL {{ host }} MENU LABEL automatic installer for {{ host }} KERNEL {{ syslinux_base_path }}linux INITRD {{ syslinux_base_path }}initrd.{{ host }}.gz APPEND install fb=false {{ (hostvars[host].install_cooked.kernel_cmdline | default([])) | join(' ') }} {% endfor %}