I have the following playbook that creates a Azure VNET with multiple Subnets.
--- - name: Deploy hosts: all connection: local vars: rg: "test