In this recipe, we will outline how to deploy resource groups in Azure. Resource groups are a part of the Azure Resource Manager deployment model, which is the preferred method for deploying resources in the Azure cloud. This is because it allows us to group similar resources (such as the VM, the VM NIC, and the VM IP address) that share the same life cycle in a single container, which is the resource group. We are going to deploy all of the related resources that we will provision using resource groups.
Creating a resource group
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...