<aside> 💡 Estimated Time TBD

</aside>

Goal

Configure Ubuntu with Ansible on the deployed Terraform instance and included the following

Setup

  1. Open up VS Code and connect over SSH to your VM you used in Lab1

References

Official Ansible documentation

Ansible Documentation - Ansible Documentation

1. Start DigitalOcean Droplet

Back in Lab1, we destroyed our DigitalOcean droplet. Let start it back up so we have a host to work with. Open up the Lab1 folder where you made your Terraform files and run Terraform apply.

terraform apply -auto-approve

You will need to enter your API key again and you should see the do_ip output at the end.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/abfc84a8-a05e-4d3b-9232-d5a5f3521528/Untitled.png

Your DigitalOcean Droplet should be online now so we can configure it with Ansible.