Hey All,

The project I'm working on has staging servers and productions servers. The 
staging servers need nginx/php/mysql, but no varnish. The production 
servers need nginx/php/varnish. I've written some generic playbook for 
nginx, php, varnish, mysql, etc., but am unsure as to how to properly set 
things up.

I originally had a playbook created specifically for my project/app, and 
was setting up dependancies in meta/main.yml, but quickly found this 
limited my control over what servers would get what playbooks. I then 
decided to modify my site.yml file to have different sections for different 
hosts. Setting up this way allows me to target certain hosts. But then the 
problem is how do I differentiate between staging and production?

I'd be happy to be a bit clearer with my question if need-be, I just didn't 
want to throw too much in at once! ;-)

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/78ef242a-f7a4-45e4-bd35-da3118437039%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to