less than 1 minute read

How to create a virtual NIC on vnet from a different resource group.

Specify the full path of the vnet https://github.com/ansible/ansible/issues/29607

  - name: Create virtual NIC 
    azure_rm_networkinterface:
      resource_group: ""
      virtual_network: "/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks/"
      subnet: ""
      name: ""

Leave a comment