# external1 and external2 are loaded from config path. - name: integration/module_utils/from_config_path.yml hosts: test-targets any_errors_fatal: true tasks: - custom_python_external_pkg: register: out - assert: that: - out.extmod_path == "ansible/lib/module_utils/externalpkg/extmod.py" fail_msg: out={{out}}