© Peter Membrey and Shaun R Smith 2022
S. R. Smith, P. MembreyBeginning Ansible Concepts and Applicationhttps://doi.org/10.1007/978-1-4842-8173-4_10

10. Building a Load Balancer: Controlling Flow

Shaun R Smith1   and Peter Membrey2
Hong Kong, New Territories, Hong Kong
Kowloon, Hong Kong

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 ...

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.