From 7ad225eedd5029b9037ec2d527e9604ca1c1dff7 Mon Sep 17 00:00:00 2001 From: tksarah Date: Sun, 20 Dec 2015 11:10:39 +0000 Subject: [PATCH] Edit azure.py --- lib/ansible/modules/cloud/azure/azure.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/azure/azure.py b/lib/ansible/modules/cloud/azure/azure.py index 15919f8eb1..1194354c29 100644 --- a/lib/ansible/modules/cloud/azure/azure.py +++ b/lib/ansible/modules/cloud/azure/azure.py @@ -369,8 +369,7 @@ def create_virtual_machine(module, azure): vm_config = LinuxConfigurationSet(hostname, user, password, disable_ssh_password_authentication) else: #Create Windows Config - vm_config = WindowsConfigurationSet(hostname, password, module.params.get('reset_pass_atlogon'),\ - module.params.get('auto_updates'), None, user) + vm_config = WindowsConfigurationSet(hostname, password, None, module.params.get('auto_updates'), None, user) vm_config.domain_join = None if module.params.get('enable_winrm'): listener = Listener('Http')