GCE inventory nested groups

27 views
Skip to first unread message

Or Elimelech

unread,
Jun 30, 2015, 7:47:03 AM6/30/15
to ansible...@googlegroups.com
Hi Ansibles,

Is there a way to create nested groups for GCE inventory?

For example

[tag_elasticsearch:vars]

[tag_elasticsearch-prod:vars]

Please tell me if there is a way to do so or I am just doing it wrong and not the ansible way.

I am coming from 4 years puppet and 1 year chef.

Brian Coca

unread,
Jul 3, 2015, 7:10:38 PM7/3/15
to ansible...@googlegroups.com
this is how you create nested groups in the ini format:

[mastergroup:children]
childgroup1
childgroup2


--
Brian Coca
Reply all
Reply to author
Forward
0 new messages