Hi,
We are looking at deploying ansible as our new automation base. we currently have 1500-2000 machines to manage in multiple data centers. We also have 50+ app/services type that we have written internally as well as the standard infrastructure servers and such.
It seems like getting the inventory layout right is critical to making it easy build templates and playbooks. My current test is to be able to generate our load balancer configs for about 25 of our services (some have built in load balancers.) I want to be able to do the following:
define a service
say which addresses and ports it listen on
make all the instances in the local data center have weight 100
make all the instances in the secondary data center weight N
for each instance, look up the host and port that it is listening on
define the set of services that this load balancer is serving
I have been getting better at template programming, but I just don’t have a feel for the best way to lay out the inventory data. This one thing I would really hate to redo.
If there are folks running similar types of environments, I would love to hear what has worked and what you would do differently. You can either reply here or contact me privately. If you are in the silicon valley, I would love to buy you a cup of coffee and chat.
thanks in advance,
jerry