In this recipe, we will outline how to decommission a complete network within AWS with all the associated network resources. This outlines how we can easily build and tear down resources on the cloud with a simple playbook execution using Ansible.
Decommissioning resources on AWS using Ansible
Getting ready
The Ansible control machine must have internet reachability and all the networking components that we have outlined in the previous recipes should be in place.
How to do it...
- Create a new pb_delete_vpc.yml playbook with the following tasks to collect the facts for...