Ansible provides multiple modules to collect the operational state of the different resources deployed in Azure. We can use these modules to validate the current state of our network in the Azure cloud. This provides a programmatic approach to validating a deployment, without the need to log in via a GUI to the portal to check the status of the different components within the infrastructure of Azure. In this recipe, we will outline how to use multiple modules to validate the resource groups and virtual networks that we have deployed.
Deployment validation using Ansible
Getting ready
The Ansible control machine must be connected to the internet, with reachability to the Azure public API endpoints. The Azure account should also...