I have included var file using
var_files:
- file
It has a variable city. state among others
Then I redefine the city variable in a json file and run the playbook --extra-vars “@a.json”
Now when I access any variable other then city it gives undefined var.