mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0fc0b6f059
It was in lib/ansible/modules/system/setup.py since it was the only thing using it, but move it back to module_utils and add a ansible_collector.get_ansible_collector() to build a facts collector just like the one used by setup.py mv test_setup.py -> test_ansible_collector.py All the code it was testing is now in ansible_collector rm code to create 'ansible_facts' subkey from namespace Just leave it up to the caller to do, and just return a flat dictionary from AnsibleFactCollector.collect() |
||
---|---|---|
.. | ||
basic | ||
ec2 | ||
facts | ||
gcp | ||
json_utils | ||
__init__.py | ||
test_basic.py | ||
test_database.py | ||
test_distribution_version.py | ||
test_known_hosts.py | ||
test_network_common.py | ||
test_postgresql.py | ||
test_text.py |