Is it possible to include a vars file in Ansible into another vars file dynamically?
I.e. I have vars file:
--- definitions: - { product: web_v2, suite:
You can put your servers in the default_step group and those vars will apply to it:
default_step
# inventory file [default_step] prod2 web_v2
Then just move your default_step.yml file to group_vars/default_step.yml.
default_step.yml
group_vars/default_step.yml