Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional module_utils import support #73832

Merged
merged 2 commits into from Mar 10, 2021

Commits on Mar 9, 2021

  1. 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).
    nitzmahone committed Mar 9, 2021
    Copy the full SHA
    72d0808 View commit details
    Browse the repository at this point in the history
  2. sanity test fixes

    ci_complete
    nitzmahone committed Mar 9, 2021
    Copy the full SHA
    6772802 View commit details
    Browse the repository at this point in the history