ansible/ansible — pull request #9730 by tfishersp (2014-12-05 21:41:52+00:00)
Title: fileglob_to_dict lookup plugin for returning dictionaries from fileglobs

I would like to contribute a module that allows targeting a directory with a fileglob and getting back a list of dictionaries that can be used as items in a loop.

I've been using it to a target a directory of user files for passing to the user module, but it's generally useful for any directory full of files that have key/attribute pairs.