I have researched Ansible to provision new servers and this works great. My play installs MySQL, Nginx and all the rest. Now I wonder what is the best way to use it as configuration management tool as well.
We run multiple websites on each server. For me this means a general Nginx setup on each server and specific configuration required for each site/domain. I have in mind that I can update both the general setup and the specific configuration independently with Ansible when I need to (let's say new insights or security).
What would I nee to do in this situation? Does this require me to keep a variable that holds all the sites and on which site they are? Or, are there better alternatives?