Daniel Hokka Zakrisson
|
89e73c123f
|
Fix tilde expansion for fileglob
Use common suffix to determine what part of original term to keep and
how much of the full path to combine to get a usable filename.
|
2013-02-11 23:43:27 +01:00 |
Daniel Hokka Zakrisson
|
b73016b881
|
Make all lookup plugins work with lists
Lookup plugins should accept a string or a list, and always return
a list, even if it is just one item.
|
2012-12-15 21:47:16 +01:00 |
Daniel Hokka Zakrisson
|
11afd84d32
|
Drop dwim prefix from returned items in fileglob
Fixes #1618.
|
2012-11-18 00:25:38 +01:00 |
Daniel Hokka Zakrisson
|
37d9acc097
|
Make lookup API extensible and allow basedir to be passed
This allows using with_fileglob in play context, e.g.
- include: $item
with_fileglob: tasks/*.yml
as well as prepares for other data to be passed.
|
2012-10-31 16:55:38 +01:00 |
Daniel Hokka Zakrisson
|
b1200c16df
|
path_dwim the path given to with_fileglob
|
2012-10-25 00:52:42 +02:00 |
Michael DeHaan
|
c5d2f6b0d3
|
implement lookup plugins for arbitrary enumeration over arbitrary things. See the mailing list for some cool examples.
|
2012-10-12 20:07:05 -04:00 |