Variables defined in vars is available to included playbooks but variables included via vars_files is not.
Files to reproduce - https://github.com/j-manu/debug/tree/master/ansible
Run command “ansible-playbook -i inventory site.yml”
Variables defined in vars is available to included playbooks but variables included via vars_files is not.
Files to reproduce - https://github.com/j-manu/debug/tree/master/ansible
Run command “ansible-playbook -i inventory site.yml”