diff --git a/ansible_mitogen/planner.py b/ansible_mitogen/planner.py index e77ba631..5ec8737a 100644 --- a/ansible_mitogen/planner.py +++ b/ansible_mitogen/planner.py @@ -59,7 +59,8 @@ import ansible_mitogen.target LOG = logging.getLogger(__name__) NO_METHOD_MSG = 'Mitogen: no invocation method found for: ' NO_INTERPRETER_MSG = 'module (%s) is missing interpreter line' -NO_MODULE_MSG = 'The module %s was not found in configured module paths.' +# NOTE: Ansible 2.10 no longer has a `.` at the end of NO_MODULE_MSG error +NO_MODULE_MSG = 'The module %s was not found in configured module paths' _planner_by_path = {} diff --git a/tests/ansible/integration/runner/missing_module.yml b/tests/ansible/integration/runner/missing_module.yml index 8eb7ef00..107f5c20 100644 --- a/tests/ansible/integration/runner/missing_module.yml +++ b/tests/ansible/integration/runner/missing_module.yml @@ -16,4 +16,4 @@ - assert: that: | - 'The module missing_module was not found in configured module paths.' in out.stdout + 'The module missing_module was not found in configured module paths' in out.stdout