ansible/test
Matt Davis 3e1f6484d7
add optional module_utils import support (#73832)
* add optional module_utils import support

Treat core and collections module_utils imports nested within any Python block statement (eg, `try`, `if`) as optional. This allows Ansible modules to implement runtime fallback behavior for missing module_utils (eg from a newer version of ansible-core), where previously, the module payload builder would always fail when unable to locate a module_util (regardless of any runtime behavior the module may implement).

* sanity test fixes

ci_complete
2021-03-10 11:08:13 -08:00
..
ansible_test
integration add optional module_utils import support (#73832) 2021-03-10 11:08:13 -08:00
lib/ansible_test Update resource_prefix syntax for ansible-test. 2021-03-10 09:00:12 -08:00
sanity module output is only json objects (#73765) 2021-03-03 15:11:18 -05:00
support module compat for py3.8+ controller (#73423) 2021-02-10 21:32:59 -08:00
units distribution: Add Amazon Linux distribution facts (#73767) 2021-03-05 09:16:10 -05:00
utils/shippable module compat for py3.8+ controller (#73423) 2021-02-10 21:32:59 -08:00