Wrapping roles inside blocks to catch failures

I love the idea around the new block feature in Ansible 2.

The example in the documentation includes tasks, I wanted to know if there was other areas/scopes in which we could include them ?

It doesn’t look like I can get my two use cases to work. Something like this (pseudo-code):

Would like to do the same trick.
Have you found any workaround?