I tried with full URI and no luck. virtual_network_name: /subscriptions/<Subscriptions_ID>/resourceGroups/<Resource_Group>/providers/Microsoft.Network/virtualNetworks/ansible_test
Anyone help on this pls ? On Tuesday, 14 February 2017 18:20:28 UTC, Bamar Diagne wrote: > > Hi, > > I am facing the same issue, did you manage to get down to the bottom of > this. I am having no luck so far. > > Cheers > Bamar > > On Friday, 13 January 2017 02:38:18 UTC, Vincent Ngan wrote: >> >> Hi, >> >> I am trying to create a VM in Azure using Ansible. The setup of our Azure >> configuration is that the virtual network is created in a different >> resource manager from the virtual machines'. When I using >> azure_rm_virtualmachine module to create a virtual machine in Azure, the >> module complains that the virtual network does not exist in the resource >> manager of the virtual machine to be created. Is there any way I can do >> that? Can I specify a virtual network with a fully qualified name including >> its resource manager name so that the module would not confuse it with the >> resource manager of the virtual machine? >> >> Vincent >> >> > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2bc32f05-a918-4017-9834-15d100d7d8a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
