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?