mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
The fileglob lookup plugin only returns files, not directories. This is to be expected, as a mixed list would not be very useful in with_fileglob. However the fileglob filter does return anything glob.glob() returns. This change fixes this, so that fileglob returns files (as the name indicates). PS We could also offer a glob filter for thos that would need it ? This relates to comments in issue #17136 and fixes confusion in #17269.