Hi there,

Is there a way to gather facts about the state of an Azure VM?

There exist fact gathering modules for other Azure resources (such as 
a azure_rm_virtualmachineimage_facts) but there doesn't seem to be any for 
VMs.
What I am trying to do is run sysprep on a Windows VM, then have ansible 
wait until its in a Stopped state, before trying to capture it.

An option is to just run the Azure cli, however I was hoping there may be a 
better way.

Any thoughts?

Thanks,
Matin

-- 
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/4c668368-98f6-4e8e-8f59-9e22333f50f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to