Hi,

We have a 2 tiers environment where the front-end servers connects to the 
backend servers.

As an example we have 30 application servers and 3 backend servers, let's 
say every backend server should support up to 10 frontend servers. We need 
Ansible to automatically setup the configuration so the load is shared :

servers 1-10 should connect to db1
servers 11-20 should connect to db2
servers 21-30 should connect to db3 

The front-end servers doesn't need to be sequential, the number of 
front-end can increase as the number of backends. The goal here is we want 
Ansible to be able to automatically balance the setup so the front-end 
servers have been evenly configured to use different backend servers.

Is this possible using Ansible ? I was trying to find a similar example 
using Jinja templates but maybe I was looking at the wrong place ? 

Any help appreciated.

Regards,
N.


-- 
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/1a1be71f-42d3-4289-958f-d876d43ab449%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to