Yeah you are going to need to write your own iterator for a lookup plugin
at that level of complexity.
Take a look at "with_subelements" for one example of one that is almost
there.
Or you could just restructure your info to make it easier, if it was coming
from a YAML file.
On Fri, Aug 8,
I have structures in group_vars files that looks roughly like the following:
Accounts1:
files:
- { src: 'src_path/filename1', dest: 'dest_path/filename1' }
- { src: 'src_path/filename2', dest: 'dest_path/filename2' }
app_groups:
- { name: 'group1', gid: '1234' }