You need to set the 'os_type' parameter, see docs 
at http://docs.ansible.com/ansible/azure_rm_virtualmachine_module.html. 
os_type maps to either WindowsConfiguration or LinuxConfiguration in the 
arm deploy request 
(see 
https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/virtualmachines-create-or-update#osprofile)

On Friday, March 31, 2017 at 12:44:50 PM UTC+2, [email protected] wrote:
>
> I've created a playback to deploy a Windows VM to Azure (ARM) which fails 
> with the following message: 
> "InvalidParamter\nMessage: The value of parameters linuxconfiguration is 
> invalid.\nTarget: linixConfiguration." 
>
> I've been able to deploy Linux VMS with no issue. 
>
> Iso the deployment of Windows OS VMs even possible via Ansible? 
>
> Cheers, 
>
> Terry 
>

-- 
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/bbcc2750-8c28-49e9-83e9-3f18788fb59e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to