roles will not run against localhost

I have some complex aws related tasks that I would like to move into a role.
However, when I run the play against localhost, the role never runs.

After much troubleshooting, I finally created a brand new repo that just tries to use debug to print something. Directly in a task works fine. In a role does not (i.e. it never runs the code).

I’ve only tried this on ansible 2.8.

Simple repro repo: https://github.com/senorsmile/ansible-localhost-role-broken

Someone on IRC sorted me out. I needed a tasks folder to put the main.yml into.