ansible/test/integration/targets/module_utils
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
..
callback no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) 2021-02-05 09:11:55 +10:00
collections/ansible_collections/testns/testcoll/plugins/module_utils add optional module_utils import support (#73832) 2021-03-10 11:08:13 -08:00
library add optional module_utils import support (#73832) 2021-03-10 11:08:13 -08:00
module_utils
other_mu_dir
aliases
module_utils_basic_setcwd.yml
module_utils_common_dict_transformation.yml Various intentional tests (#72485) 2020-11-06 08:41:41 -06:00
module_utils_envvar.yml
module_utils_test.yml add optional module_utils import support (#73832) 2021-03-10 11:08:13 -08:00
module_utils_test_no_log.yml no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) 2021-02-05 09:11:55 +10:00
module_utils_vvvvv.yml no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) 2021-02-05 09:11:55 +10:00
runme.sh Various intentional tests (#72485) 2020-11-06 08:41:41 -06:00