Thanks both, I have a play with these suggestions and see how I get on.

On Friday, January 24, 2014 3:53:21 PM UTC, Brian Coca wrote:
>
> I wasn't saying you had to, just showing that you can flexibly organize 
> them in differnet ways, specially if you wanted different versions of the 
> same group file (all) for each inventory. For your last question:
> /some/dir/inventory
>     production
>     stage
>     development
>     group_vars/
>         all              => proxy_details: [http_proxy_host: abc.def.com, 
> http_proxy_port: 80]
>         webservers
>         development => proxy_details: [http_proxy_host: zwx.dev.com, 
> http_proxy_port: 80]
>
> or optionally, instead of in all
>         staging     => proxy_details: [http_proxy_host: abc.def.com, 
> http_proxy_port: 80]
>         production => proxy_details: [http_proxy_host: abc.def.com, 
> http_proxy_port: 80]
>
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to