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
Adrian Likins 08f92a9f0f
Fix fact deps when 'filter=ansible_fact' is used. (#33441)
The accumulated collected_facts was being update
with new facts _after_ filtering them. So only
facts that pass the filter would ever be passed
to other fact collectors.

For 'filter=ansible_service_mgr', even though it requires
the platform and distribution facts and even collects them,
they would get filtered out and never passed to the other
collectors that need them (service_mgr for ex).

Fix is just to add the unfiltered facts to collected_facts.

Adds unit tests for fact filter and collected_facts.

Fixes #32286
7 years ago
..
cli Improve handling of ansible-doc sanity errors. 7 years ago
compat Create a short license for PSF and MIT. (#32212) 7 years ago
config ansible-config: add simple tests (#34900) 7 years ago
errors Temporary (#31677) 7 years ago
executor win_become: another option to support become flags for runas (#34551) 7 years ago
galaxy Catch exception comparing role versions, and provide a user friendly error message. Fixes #32301 (#34427) 7 years ago
inventory Temporary (#31677) 7 years ago
module_utils Fix fact deps when 'filter=ansible_fact' is used. (#33441) 7 years ago
modules Fixes some bugs and things (#35122) 7 years ago
parsing Support using vault password files that are themselves vault encrypted (#27668) 7 years ago
playbook Temporary (#31677) 7 years ago
plugins Add K8s inventory plugin (#34920) 7 years ago
template [template/vars] Use to_native(exception) as a fallback for Python 3 which doesn't have a .message attribute (#34044) 7 years ago
utils Adds bigip_ucs_fetch module (#35113) 7 years ago
vars fix item var in delegation (#32986) 7 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 9 years ago
constants.py Temporary (#31677) 7 years ago
release.py Bump the versions now that devel is 2.5 7 years ago