Variables on Extra-Vars within Extra-Vars-File

Hello Groups,

Is there any way that we can have a variable within a variable-file?

Example:
ansible-playbook -i localhost -e “test=var1 some=ex_1” -e “@files/dev/sample_ex_1.yml”

Desired:

ansible-playbook -i localhost -e “test=var1 some=ex_1” -e “@files/dev/sample_{{ some }}.yml”

Thank you…

No, buton the other hand... its still shell:

ansible-playbook -i localhost -e "test=var1
some=${THIS_IS_AN_ENV_VAR}" -e
"@files/dev/sample_${THIS_IS_AN_ENV_VAR}.yml"

Yes, that is what I’m actually doing by putting the same value.

Thank you