% for host in hosts: % if host[1]:
  • ${host[0]}
  • % else:
  • ${host[0]}
  • % endif % endfor