ansible 2.10 no longer has a at the end of the error msg... 🤦

pull/715/head
Steven Robertson 4 years ago
parent e6d7cd3aff
commit 741e99f698

@ -59,7 +59,8 @@ import ansible_mitogen.target
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
NO_METHOD_MSG = 'Mitogen: no invocation method found for: ' NO_METHOD_MSG = 'Mitogen: no invocation method found for: '
NO_INTERPRETER_MSG = 'module (%s) is missing interpreter line' 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 = {} _planner_by_path = {}

@ -16,4 +16,4 @@
- assert: - assert:
that: | 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

Loading…
Cancel
Save