Search code examples
azureansiblecloud

Is there an ansible module to take snapshot on disk Azure


I'm just getting started with Ansible. I've created simple vms with azure module on Ansible. Now, I'm trying to take a snapshot on azure disk with ansible.

Is that possible?


Solution

  • There is no such a module according to the module list. You can use azure_rm_resource module to perform a custom post request to Azure with Ansible. Here's an API call you should mimic with Ansible