I know I tested this back when we first wrote it, so unless it got broken 
along the way somewhere, if you pass the full resource URI for the vnet 
(regardless of whether or not it's in the same RG), it should do the right 
thing...

On Thursday, January 12, 2017 at 6:38:18 PM UTC-8, 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/3854a59f-0c1d-4372-9b32-54265767808b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to