You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible
Dag Wieers 2daf527e63 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.
9 years ago
..
cli Don't use the shell to catch output, catch output in python. Fixes #17137 (#17449) 9 years ago
compat Move py34 mock_open compat to compat/test/mock (#17157) 10 years ago
config Making the switch to v2 11 years ago
errors Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 9 years ago
executor Fixing another logic issue related to include_role changes 9 years ago
galaxy Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 9 years ago
inventory Fix typo 9 years ago
module_utils Merge pull request #17467 from privateip/netcfg 9 years ago
modules Update submodule refs. 9 years ago
parsing Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 9 years ago
playbook Make ssh_executable available as ansible_ssh_* variable (#17450) 9 years ago
plugins Fix fileglob filter to work just like fileglob lookup plugin (#17480) 9 years ago
template Support late evaluation, suppress warnings on SyntaxError (#17462) 9 years ago
utils Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 9 years ago
vars Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 9 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 10 years ago
constants.py Added option to change ssh executable path (#17377) 9 years ago
release.py Fix ziploader for the cornercase of ansible invoking ansible. 10 years ago
test-requirements.txt Making the switch to v2 11 years ago