mirror of https://github.com/ansible/ansible.git
Fix fileglob filter to work just like fileglob lookup plugin (#17480)
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.pull/17483/head
parent
d52a9cee46
commit
2daf527e63
Loading…
Reference in New Issue