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/39071b34-02dd-4461-bff5-80dd5beaa7bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
