With the playbooks we have built so far, we have had little need to make any key decisions or control the flow in any special way, since we are only building a single type of host – a webserver. We have seen that we can run that same playbook against multiple hosts and thus create multiple web servers. This is where Ansible really shines. At any time, we can spin up new web servers, scaling out to huge numbers of them with very little effort. We can migrate ...
10. Building a Load Balancer: Controlling Flow
Get Beginning Ansible Concepts and Application: Provisioning, Configuring, and Managing Servers, Applications, and Their Dependencies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.