Group vars can sit next to your inventory or next to your playbook. Looks like your current groupvars are evaluated because they sit next to yout root-dir playbooks.
You can try to put them next to your inventory so that they'll be evaluated for every pkaybook that's run with that inventory.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/Kmv-TXIMDA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9a1cdee4-b807-42ea-beb9-d86db7abf148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There was another thread about that yesterday. No good option that i know of. You can try to create a link to your var files inside each invetory, or write another inventory script that includes these files.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/Kmv-TXIMDA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fcb75873-8532-4aad-9d22-1dfe92bbe922%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CANk919vYeZCvAyBMkM5BaBSdX8Owx5tdAbTvFUk6J%2B%3Dpbv7ytA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
![]() | James Morgan | ||||||||||||||||||||||||||
| Principal Technologist | |||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||
| This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postm...@openbet.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by OpenBet for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. OpenBet Ltd. Registered Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT, United Kingdom. A company registered in England and Wales. Registered no. 3134634. VAT no. GB927523612 |