In this chapter, we will move from using our local virtual machine to using Ansible to launch instances in a public cloud provider. For this chapter, we will be using DigitalOcean, and we are targeting this provider as it allows us to simply launch virtual machines and interact with them, without having too much configuration overhead.
We will then look at adapting our WordPress playbook so that it interacts with the newly launched instance.
In this chapter, we will cover the following topics:
- A quick introduction to DigitalOcean
- Launching instances in DigitalOcean
- How to switch between running Ansible locally and remotely so we can deploy WordPress