Hi,

Currently i'm using static inventory in ansible and have folder structure 
like Inventories/inv1, Inventories/inv2, etc..

# Inventories/inv1
[atlanta]
xyz.com

[europe]
abc.com

I need to have group variables for production in a way like 
Inventories/group_vars/production which is specific to Prod.

#Inventories/group_vars/production
---

url: 'jnp://mqendpoint.company.com:1099'
env: 'Production'


How can I glue these two files into a third inventory file 
Inventories/production.

What I tried is 
#Inventories/production
[production:children]
atlanta
europe

I am getting error as  child group is not defined:atlanta, europe

Any ideas?

-- 
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/da821773-8bf0-4704-8696-ca3a2ada935a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to