Can anyone tell me if there's a way to use the same role, to pass 
completely different config files to an app?

My issue is I need to set up nginx as a load balancer on one node, but as 
web servers on another node. I can't just template the changes, I need to 
push a different set of files to each - there are some files that will 
exist on the load balancer that I don't want to exist on the web servers, 
and vice versa. I haven't found anything in the documentation that deals 
directly with that type of issue. Creating multiple nginx roles seems 
inelegant - is there a way to do this with just the one role?

-- 
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/20386ddd-d5ff-4204-9e88-46c231f323c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to