You can use the template module to build up your nginx configuration files 
from variables

On Monday, February 8, 2016 at 5:04:44 PM UTC+1, jepper wrote:
>
> Problem: 
> We want a simple nginx role that can be re-used in different ways, i.e. 
> not serving same purpose, and with entirely unrelated files in 
> /etc/nginx/conf.d/
>
> Can we use files as if they were in roles/nginx/files but instead the 
> files are read from group_vars in a way that correspond with inventory/env 
> and group_vars/env? The idea being to decouple the files from the role... 
> Thanks
>

-- 
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/16076bcd-e841-4a7c-b227-784f07386d69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to