ansible/test/units
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 galaxy unit tests: add missing arg (#33766) 2018-01-04 09:16:56 -08:00
config
contrib
errors
executor Cache tasks as they are queued instead of en masse (#34752) 2018-01-15 09:49:58 -06:00
inventory_test_data/group_vars
mock Porting tests to pytest (#33387) 2017-12-05 12:43:13 -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 fixed test to new sig 2018-01-04 11:20:56 -05:00
plugins Ensure that the become password is written on py3 in the ssh connection plugin. Fixes #34727 2018-01-18 09:32:22 -08:00
template
utils
vars
__init__.py
ansible.cfg
conftest.py
test_constants.py