[ansible-project] ansible azure_rm_networkinterface subnet from other resource group

2018-01-31 Thread Tim Qin
I m trying to create a virtual network in resource group A and a network interface in resource group B where the subnets and virtual network is from resource group A. *azure_rm_networkinterface *seems can only lookup subnet from the virtual network within the same resource group base on the cod

[ansible-project] dns_settings in azure_rm_networkinterface

2018-01-31 Thread Tim Qin
For the return value in module azure_rm_networkinterface we could have dns_settings as an output: 'dns_settings': {'dns_servers': [], 'internal_fqdn': None, 'internal_dns_name_label': None, 'applied_dns_servers': []} But how can we set these dns_settings options in the azure_rm_networkinterface

[ansible-project] Azure Auth using 'az login' like Terraform does

2018-01-30 Thread Tim Qin
I m trying to use ansible azure module, but the auth methods blocked me: - Service principles: it is no go as we are auth through enterprise AD on Azure portal - AD: simply provide username and password are not working because when typing my corp email addresses, Azure will redirect to my corp a