I\'m looking for a better solution to filter a list of dicts by a key A and return a list of value of key B. To be more concrete - every host has a dict:
infr