ansible loop break hack

I've got a hack for what seems like a lack of "break" in ansible
loops. How ugly is that (and is there a better way)?