Traceback (most recent call last):


 "C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\main.py", line 37, in main

cmd_result = APPLICATION.execute(args)


 "C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\application.py", line 157, in execute

result = expanded_arg.func(params)


 "C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 358, in _execute_command

raise ex


 "C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 353, in _execute_command

result = op(client, **kwargs) if client else op(**kwargs)


 "C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\command_modules\vm\custom.py", line 1623, in create_vm

return get_vm_details(resource_group_name, vm_name)


 "C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\command_modules\vm\custom.py", line 194, in get_vm_details

setattr(result, 'private_ips', ','.join(private_ips))
TypeError: sequence item 1: expected str instance, NoneType found

Traceback (most recent call last):


 "/home/petr/.local/bin/ansible", line 109, in <module>

exit_code = cli.run()


 "/home/petr/.local/lib/python3.6/site-packages/ansible/cli/adhoc.py", line 200, in run

result = self._tqm.run(play)


 "/home/petr/.local/lib/python3.6/site-packages/ansible/executor/task_queue_manager.py", line 264, in run

start_at_done = self._start_at_done,


 "/home/petr/.local/lib/python3.6/site-packages/ansible/executor/play_iterator.py", line 210, in __init__

if host.name in variable_manager._fact_cache and variable_manager._fact_cache.get(host.name).get('module_setup', False):


 "/home/petr/.local/lib/python3.6/site-packages/ansible/plugins/cache/__init__.py", line 57, in __contains__

return self._plugin.contains(key)


 "/home/petr/.local/lib/python3.6/site-packages/ansible/plugins/cache/redis.py", line 87, in contains

return (self._cache.zrank(self._keys_set, key) >= 0)
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
