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.

On Fri, Jun 26, 2015, 18:28 James Morgan <[email protected]> wrote:

> Ok that makes sense but causes a problem for my layout. I have
>
> .
> ├── group_vars
> │   ├── all.yml
> │   ├── groupA.yml
> │   ├── groupB.yml
> │   └── groupC.yml
> ├── inventory
> │   └── ec2
> │       ├── eu-west
> │       │   ├── inventoryA
> │       │   └── inventoryB
> │       └── us-east
> │           ├── inventoryA
> │           └── inventoryB
>
>
> There are many inventories. Currently I have all plays use the groups
> defined in the main group_vars. If I was to move some common groups_vars to
> the inventory then they would be duplicated for each inventory. Unless im
> missing something
>
> I was hoping there would be a way of having ansible look at the
> playbook_dir instead of its current dir when evaluating the group_vars.
>
> J
>
> --
> 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
> [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/fcb75873-8532-4aad-9d22-1dfe92bbe922%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/fcb75873-8532-4aad-9d22-1dfe92bbe922%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAO0%3DbmERJDF4QNNZzuPfGNMPjgSMPGh-jR4bN8FbbBXo0iGJhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to