From 741e99f6989d04333e6cd9228e24b1f1c3fb1c8c Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 1 Nov 2020 11:13:51 -0800 Subject: [PATCH] ansible 2.10 no longer has a at the end of the error msg... :facepalm: --- ansible_mitogen/planner.py | 3 ++- tests/ansible/integration/runner/missing_module.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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