Hey All,

I currently have three separate inventory files to handle staging, 
production, and local installs for my project. I'm having difficulty 
figuring out the best way to configure variables while doing this. One 
example is that on local and staging servers I need to have nginx run on 
port 80 and not have varnish install, whereas on production servers I need 
the port to be 81 and have varnish install. I suppose I could create a 
host_var file for each and every server to ensure I set the variable to 80 
or 81 where needed, but this seems way overkill.

How have people been handling this?

Thanks!

James

-- 
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/e31ad2b3-0bd5-45b2-b287-f9c306953716%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to