File lookup within a role

Hi - I’m new to Ansible and trying to create a role that contains a file, the contents of which are passed to a second role.

Example Structure:

RoleA

files

  • foo.txt

meta

  • main.yml

The contents of main.yml are: