Azure Powershell DSC vs Ansible

%3CLINGO-SUB%20id%3D%22lingo-sub-1122104%22%20slang%3D%22en-US%22%3EAzure%20Powershell%20DSC%20vs%20Ansible%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122104%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20want%20to%20find%20out%20what%20are%20you%20using%20for%20Desired%20State%20Configuration%20on%20Azure.%20Do%20you%20use%20built%20in%20Powershell%20DSC%20or%20you%20are%20using%20Ansible%20with%20DSC%20enabled%20for%20Windows%20Machines%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20in%20the%20process%20of%20deciding%20which%20solution%20should%20the%20best%20for%20us.%20Also%20I%20would%20like%20to%20automate%20on-prem%20infrastructure.%20Which%20solution%20do%20you%20use%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EWojciech%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1122104%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAnsible%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAutomation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Econtrol%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDSC%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123869%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Powershell%20DSC%20vs%20Ansible%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123869%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F528908%22%20target%3D%22_blank%22%3E%40sramadugu%3C%2FA%3E%3C%2FP%3E%3CP%3EThis%20is%20true%2C%20DSC%20has%20a%20larger%20library%20of%20modules%20however%20you%20can%20call%20DSC%20on%20Ansible%20is%20well.%20I%20don't%20mind%20to%20craft%20some%20new%20scripts%20myself%20-%20the%20fundamental%20question%20is%20which%20solution%20will%20be%20better%20to%20adopt%20not%20only%20for%20Azure%20but%20also%20for%20on-prem%3F%20Should%20I%20consider%20using%20two%3F%20One%20for%20Azure%20such%20as%20DSC%20and%20Ansible%20on-prem%20or%20just%20go%20with%20one%20or%20the%20other%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123492%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Powershell%20DSC%20vs%20Ansible%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123492%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F391409%22%20target%3D%22_blank%22%3E%40mrktos%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewell%2C%20powershell%20DSC%20has%20been%20improved%20alot%20with%20lot%20of%20modules%20over%20the%20years%20which%20makes%20it%20easier%20to%20configure%20windows%20servers.%20so%20if%20you%20go%20with%20powershell%20DSC%20%2C%20with%20little%20or%20no%20effort%20you%20can%20use%20them%20on%20Azure%20as%20well.%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20the%20number%20of%20modules%20that%20are%20available%20for%20Ansible%20on%20windows%20is%20less%20compared%20to%20that%20of%20powershell%20DSC%20.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hey Guys,

 

I just want to find out what are you using for Desired State Configuration on Azure. Do you use built in Powershell DSC or you are using Ansible with DSC enabled for Windows Machines?

 

I am in the process of deciding which solution should the best for us. Also I would like to automate on-prem infrastructure. Which solution do you use?

 

Regards,

Wojciech

6 Replies
Highlighted

@mrktos 

well, powershell DSC has been improved alot with lot of modules over the years which makes it easier to configure windows servers. so if you go with powershell DSC , with little or no effort you can use them on Azure as well. 

Also the number of modules that are available for Ansible on windows is less compared to that of powershell DSC . 

Highlighted

@sramadugu

This is true, DSC has a larger library of modules however you can call DSC on Ansible is well. I don't mind to craft some new scripts myself - the fundamental question is which solution will be better to adopt not only for Azure but also for on-prem? Should I consider using two? One for Azure such as DSC and Ansible on-prem or just go with one or the other?

Highlighted

@mrktos 

I would go with any one. in scenarios where i have to transition my stuff its easy to find someone with any one skill than someone who can understand both. 

Highlighted

@mrktos- use azure state configuration, welcome!

Highlighted
azure state configuration are excellent both on the cloud or on-prem
Highlighted
This is true - it is a great technology however in the Docs they are recommending Ansible.