O'Reilly logo

Re-Engineering Legacy Software by Chris Birchall

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

Chapter 8. Extending automation to test, staging, and production environments

This chapter covers

  • Using Ansible to provision multiple environments
  • Moving your infrastructure to the cloud

In the previous chapter we wrote an Ansible playbook to automatically provision the local development environment for the UAD application. In this chapter we’ll build on that work, refactoring our Ansible scripts so that we can reuse them to provision all our environments, all the way from the developer’s machine to the production servers.

Before we start, we should quickly go over what environments a piece of software needs to run on, and why we’d want to automate the provisioning process for those environments.

Every software application will have slightly ...

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