My roles/test/tasks/main.yml file looks like this:
Use *include_tasks* instead of *include*.
Quoting:"Prior to Ansible 2.4, only include was available and it behaved
differently depending on context". See "Including and Importing"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_includes.html#including-and-importing
Cheers,
-vlado