A subnet is the networking construct within the Azure cloud that is used to segment the virtual network. It is used to provide us with the tools to segregate our virtual network into distinct routing and security domains that we can control in order to provide different routing and security behaviors within each subnet. In this recipe, we will outline how to define and provision subnets within the Azure cloud.
Creating subnets
Getting ready
The Ansible control machine must be connected to the internet, with reachability to the Azure public API endpoints. The Azure account should be configured as outlined in the previous recipes. The resource group and virtual networks should also be provisioned as outlined in the previous...