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
UI job logs has excess new line on each tasks #6357
Comments
Are you running 9.3.0, or |
I think this might be a change/regression in Ansible itself. Here's a video that shows a difference in behavior between Ansible 2.9.0 and 2.9.6: |
Here's what we're getting in Ansible 2.9.6 for a job that exhibits this behavior:
|
Here's what we're getting in Ansible 2.9.0 for a job that does not exhibit this behavior:
|
I think this change is responsible for the regression: If I install 2.9.6, I see the behavior. If I edit my ansible 2.9.6 source code and undo that change, the problem goes away. cc @samdoran |
@ryan012880 I've opened a PR to roll back this change to ansible, in case you want to give it a whirl: |
running devel |
@ryanpetrello noted, thank you |
New approach to address this in Ansible, courtesy of @ghjm: |
This will be resolved in the next version of Ansible (and I believe it's being backported to the next 2.9.x). Until then, it looks like older versions of 2.9.x don't have this issue: |
ansible/ansible#68517 is merged into Ansible devel. The 2.9 backport, |
I confirmed that devel and ansible/ansible#68520 both work using a custom_virtualenv for a job template |
@squidboylan mentioned that this is waiting on ansible/ansible#68520 to merge. @ryanpetrello |
@one-t @squidboylan @dsesami the relevant Ansible change was merged into the 2.9 branch and this is ready for verification. |
I just tested this with 3 hosts in an inventory using latest 2.9 and it worked as expected |
I can confirm also all is good thank you. |
ISSUE TYPE
SUMMARY
In the UI each line in the task job log has an additional newline.
ENVIRONMENT
STEPS TO REPRODUCE
Launch a JT for multiple targets
EXPECTED RESULTS
ACTUAL RESULTS
ADDITIONAL INFORMATION
Downloading the logs shows
The text was updated successfully, but these errors were encountered: