Skip to content
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

suppressing long job output like selective stdout callback #5789

Open
sugitk opened this issue Jan 28, 2020 · 4 comments
Open

suppressing long job output like selective stdout callback #5789

sugitk opened this issue Jan 28, 2020 · 4 comments

Comments

@sugitk
Copy link
Contributor

sugitk commented Jan 28, 2020

ISSUE TYPE
  • Feature Idea
SUMMARY

Web UI can fold/expand icon though, API cannot retrieve a partial job output. Unused job output needs to be suppressed in advance.

@AlanCoding
Copy link
Member

@sugitk
Copy link
Contributor Author

sugitk commented Jan 29, 2020

Yes, the customer wants to do the same behavior as the selective plugin in Tower.
I think it is very similar to the issue #4092. This #5789 request is more flexible one.

@AlanCoding
Copy link
Member

I've taken ansible/ansible-runner#387 out of draft status. The test addresses the selective callback specifically. After going back over the options, I see that this is possibly the most mature output reducing callback. There are still some interactive features that we cannot capture at the moment (the scrolling ...). For the moment, I would like to not bother that such a minute detail which would have major UI implications, as long as functionality works fine otherwise.

@nlvw
Copy link

nlvw commented Sep 28, 2021

@AlanCoding I saw that your code was merged but this doesn't seem to work in 19.3.0 when setting it in ansible.cfg.

I was hoping to use this to get around a combinations of bugs that completely break AWX (#10489 and #9961). If the selective callback can be used then the actual logging can be offloaded to ARA while AWX just shows failures and a summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants