1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
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
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
compile Fix Python 3.7 syntax error in yum_repository. 2018-01-09 17:54:10 -08:00
integration Support using vault password files that are themselves vault encrypted (#27668) 2018-01-20 14:56:18 -05:00
legacy vultr: new module vr_dns_record (#34423) 2018-01-19 09:34:23 +01:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
sanity Fixes some bugs and things (#35122) 2018-01-20 10:40:20 -08:00
units Fix fact deps when 'filter=ansible_fact' is used. (#33441) 2018-01-20 15:07:27 -05:00
utils Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00