community.general/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
2018-01-20 15:07:27 -05:00
..
cli Improve handling of ansible-doc sanity errors. 2018-01-17 11:41:01 -08:00
compat Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
config ansible-config: add simple tests (#34900) 2018-01-17 06:33:33 -08:00
errors Temporary (#31677) 2018-01-15 21:15:04 -08:00
executor win_become: another option to support become flags for runas (#34551) 2018-01-19 13:58:10 -08:00
galaxy Catch exception comparing role versions, and provide a user friendly error message. Fixes #32301 (#34427) 2018-01-11 17:41:23 -06:00
inventory Temporary (#31677) 2018-01-15 21:15:04 -08:00
module_utils Fix fact deps when 'filter=ansible_fact' is used. (#33441) 2018-01-20 15:07:27 -05:00
modules Fixes some bugs and things (#35122) 2018-01-20 10:40:20 -08:00
parsing Support using vault password files that are themselves vault encrypted (#27668) 2018-01-20 14:56:18 -05:00
playbook Temporary (#31677) 2018-01-15 21:15:04 -08:00
plugins Add K8s inventory plugin (#34920) 2018-01-20 08:50:01 -05:00
template [template/vars] Use to_native(exception) as a fallback for Python 3 which doesn't have a .message attribute (#34044) 2017-12-19 17:34:46 -05:00
utils Adds bigip_ucs_fetch module (#35113) 2018-01-19 20:25:47 -08:00
vars fix item var in delegation (#32986) 2017-11-20 09:29:55 -05:00
__init__.py
constants.py Temporary (#31677) 2018-01-15 21:15:04 -08:00
release.py