How to import host/group specific files into roles

Hello Team,

I am using role to install the kafka. I need help in using environment specific files from roles directory to the ansible code and eventually deployed onto the servers.

For example we have some files which are changing as per enviornment.
dev we have separate keystores and truststore
prod we have separate keystores and truststore
Now how can we use same role and variabalize to pick the env specific or group sepecific keystore/truststore or any other files??
I would like to have those files in ansible roles permanently. It should pick from any directory under roles , ideally inventory or files.

you can use the vars_from: '{{myenv}}.yml' of incluide_role/import_role to specify the source, assuming the myenv variable is dev/prod/qa/staging.