I am trying to imply environment wide values via inventory file for which i need to use some other variables as values.
My host file looks like this:
[linunx]
linux1
linux2
[windows]
windows1
windows2
[all]
linux
windows
[all:vars]
environment=ABC
client=XYZ
path=/opt/config/{{environment}}_{{client}}
Is this possible within inventory file or i will have to prepare all.yaml in group vars ?