Need to create a new Azure VM with a managed disk snapshot

Posted on

We created a gold snapshot to use from the azure portal to create a new VM from so it has OS, applications, repo, and other things. I need this to be in place of the image or OS disk in the ansible play so that way it will be essentially, automating the clone process. The only thing my playbook can do is create a new windows 10 vm and I have struggled to find a way to essentially stick the snapshot of the managed disk into there so we have a simple and efficient vm process. I am in desperate need of help!

Responses