Virtual networks in the Azure cloud are our virtual data center, which groups all of our infrastructure in a similar manner to a physical data center. We can have multiple virtual networks in the same and across different regions, and we can deploy our infrastructure inside these virtual networks. In this recipe, we will outline how to define and provision a virtual network in Azure.
The Ansible control machine must be connected to the internet with reachability to the Azure public API endpoints and the Azure account should be configured as outlined in the previous recipes. The resource group should also be provisioned as in the previous recipe.