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

This commit is contained in:
Steven Robertson 2020-11-01 11:13:51 -08:00
parent e6d7cd3aff
commit 741e99f698
2 changed files with 3 additions and 2 deletions

View File

@ -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 = {}

View File

@ -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