
Traceback (most recent call last):

 "<string>", line 1, in <module>

 "/home/abstrus/.pyenv/versions/3.5.2/lib/python3.5/tokenize.py", line 454, in open
buffer = _builtin_open(filename, 'rb')
IsADirectoryError: [Errno 21] Is a directory: '/home/abstrus/workspace/test_pip/setup.py'
Traceback (most recent call last):


 "/tmp/ansible_l_NvK6/ansible_module_azure_rm_virtualmachine.py", line 1305, in <module>

main()


 "/tmp/ansible_l_NvK6/ansible_module_azure_rm_virtualmachine.py", line 1302, in main

AzureRMVirtualMachine()


 "/tmp/ansible_l_NvK6/ansible_module_azure_rm_virtualmachine.py", line 548, in __init__

supports_check_mode=True)


 "/tmp/ansible_l_NvK6/ansible_modlib.zip/ansible/module_utils/azure_rm_common.py", line 184, in __init__


 "/tmp/ansible_l_NvK6/ansible_module_azure_rm_virtualmachine.py", line 716, in exec_module

default_nic = self.create_default_nic()


 "/tmp/ansible_l_NvK6/ansible_module_azure_rm_virtualmachine.py", line 1256, in create_default_nic

for subnet in subnets:


 "/usr/lib/python2.7/dist-packages/msrest/paging.py", line 109, in __next__

self.advance_page()


 "/usr/lib/python2.7/dist-packages/msrest/paging.py", line 95, in advance_page

self._response = self._get_next(self.next_link)


 "/usr/lib/python2.7/dist-packages/azure/mgmt/network/operations/subnets_operations.py", line 350, in internal_paging

raise exp
msrestazure.azure_exceptions.CloudError: Azure Error: ResourceNotFound
