O'Reilly logo

Ansible Configuration Management - Second Edition by Daniel Hall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Speeding things up

As you add more and more machines and services to your Ansible configuration, you will find things getting slower and slower. Fortunately, there are several tricks you can use to make Ansible work on a bigger scale.

Provisioning

Ansible isn't just limited to being able to configure our machines; we can also use it to create the machines that we will be configuring. We are also not limited to just making the machines to be configured, we can also make networks, load balancers, DNS entries, or even your whole infrastructure. You can even have this automatically happen before you provision the machine by using the group, group_by and add_host modules.

In the following example, we use Google Compute to create two machines, and then ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required