Forum Discussion
mrktos
Jan 22, 2020Brass Contributor
Azure Powershell DSC vs Ansible
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? ...
sramadugu
Jan 22, 2020Copper Contributor
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 .
mrktos
Jan 22, 2020Brass Contributor
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?
- abalagaoJan 31, 2020Copper Contributorazure state configuration are excellent both on the cloud or on-prem
- mrktosFeb 02, 2020Brass ContributorThis is true - it is a great technology however in the Docs they are recommending Ansible.
- Ausaf AhmedApr 05, 2021Copper ContributorEven with Ansible you can leverage using Powershell DSC modules.
Question is which solution is best