ansible-collections / azure

Development area for Azure Collections
https://galaxy.ansible.com/azure/azcollection
GNU General Public License v3.0
246 stars 330 forks source link

Documentation: misleading `*_host_filter` example #1613

Closed ASHR4 closed 3 months ago

ASHR4 commented 3 months ago
SUMMARY

Confusing documentation as it implies you can only evaluate the key of a specific tag within Azure.

This has been updated so it now implies it evaluates the tag key with a specific value; the main use case for this functionality within this plugin.

ISSUE TYPE
COMPONENT NAME

azure.azcollection.azure_rm

ADDITIONAL INFORMATION
tags['tagkey'] == 'tagkey' # pulls no machine with the tag key of 'tagkey' and value of 'testvalue'
tags['tagkey'] == 'testvalue' # pulls machine with a tag key of 'tagkey' and value of 'testvalue'