Hi Jordan, Amazing timing, thanks a lot for that. It works great!
Cheers, Matin On Monday, 6 August 2018 20:40:17 UTC+1, Jordan Borean wrote: > > A VM facts module was just added to the codebase and will be available in > the 2.7 release by default. What you can do is create a copy of the file as > is and store it in the library folder of the role or next to the playbook > and access it like normal ( > https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine_facts.py). > > If you do want to go down that route, I recommend you call the module > something like azure_rm_virtualmachine_facts_cust to make it explicitly > clear you are using a version that is not built into Ansible. This means > that when you do upgrade to 2.7 or future versions you don't override the > builtin one which by that time may contain bug fixes or newer features. > > Thanks > > Jordan > -- 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/a883ab4c-98b1-40dd-b23d-454fea214965%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
