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
Multiline error messages are unreadable #14549
Comments
+1 |
+1 please fix this, really a big and totally unneeded hurdle in diagnosing |
+1 Same on v2.1.2. |
@mgedmin Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information. Here are the items we could not find in your description:
Please set the description of this issue with this template: |
I get the following with today's
Closing as per above. |
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
Ansible 2.0 reports error messages like this:
This is, to put it politely, unreadable.
It's especially surprising when Ansible's own nice multi-line YAML errors get squished into a single line with embedded
\n
s.STEPS TO REPRODUCE
Create a
test.yml
like this:Create an
err.yml
like this:Run
ansible-playbook test.yml
EXPECTED RESULTS
Ansible 1.9.4 wasn't too bad and used to produce this:
ACTUAL RESULTS
Ansible 2.0.0.2 as well as Ansible 2.1.0 (devel 875ea74) produce this:
The text was updated successfully, but these errors were encountered: