In this recipe, we will outline how to control routing within a subnet using user-defined routers. This user-defined routes object can be associated with a specific subnet. We can define custom routes to adjust the forwarding behavior within a subnet in the Azure cloud.
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, virtual networks, and subnets should also be provisioned as outlined in the previous recipes.