--- cleanup_libvirt_image_dir: >- {{ vm_path if vm_path is defined and vm_path | length > 0 else '/var/lib/libvirt/images' }} cleanup_libvirt_cloudinit_path: >- {{ [cleanup_libvirt_image_dir, hostname ~ '-cloudinit.iso'] | ansible.builtin.path_join }}