When bang inventory is returning a list of hosts or IP addresses, I would like to see it return sorted lists. Reason is, currently it returns seemingly random list each time; when these lists are then used by ansible, say as vars in a jinja template for a config file, they might be in a different order each time, so that even if the actual list hasn't changed, ansible will rewrite the config file simply because the inventory list bang gave it is in a different order. If all inventory lists were returned sorted, that problem should be eliminated, except in cases of actual differences in the list. I can't see this would cause any other issues ....
When bang inventory is returning a list of hosts or IP addresses, I would like to see it return sorted lists. Reason is, currently it returns seemingly random list each time; when these lists are then used by ansible, say as vars in a jinja template for a config file, they might be in a different order each time, so that even if the actual list hasn't changed, ansible will rewrite the config file simply because the inventory list bang gave it is in a different order. If all inventory lists were returned sorted, that problem should be eliminated, except in cases of actual differences in the list. I can't see this would cause any other issues ....