ERROR! A malformed block was encountered while loading a block

HI,
I am familiar with this ansible coding. Right now, ansible updated to 2.7. While running/checking the syntax of a code. I am getting error as a malformed block was encountered while loading a block.
I found that problem is with ansible keyword “roles”. In ansible 2.7, roles syntax changed partially. I am posting my code here. Can anyone help me to resolve this issue…

Code:

This basic playbook looks ok so can it be that the issue is in your role?

@Dick Visser…yes… May be there is any issue with role syntax when compare to ansible 2.7 version