Packing Windows on Azure, with Ansible provisioning

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/build-image-with-packer

I would like to provision a Windows 2016 VM in Azure or GCP with Ansible as provisioner.
Ansible can provision Windows using Vagrant like shown in this repo https://github.com/jborean93/packer-windoze But Azure is different and it is unclear how to enable WinRM for Ansible on that platform. I could not find a working example of Windows provisioning with Ansible on GitHub.

I’m trying to make sense of this options presented on this pages by Hashicorp, maybe it makes enough sense to you to advise me?

[https://www.packer.io/docs/provisioners/ansible.html]

Background:
[https://docs.ansible.com/ansible/latest/scenario_guides/guide_azure.html]
[https://medium.com/slalom-engineering/azure-packer-592c4dc0e23a]