-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
plugins.callback.unixy: Warning 'CallbackModule' object has no attribute 'display_failed_stderr' #5600
Closed
1 task done
Comments
Files identified in the description: If these files are incorrect, please update the |
!component =plugins/callback/unixy.py |
kerel-fs
added a commit
to kerel-fs/ansible-community.general
that referenced
this issue
Nov 24, 2022
Fixes ansible-collections#5600. Signed-off-by: Fabian P. Schmidt <[email protected]>
kerel-fs
added a commit
to kerel-fs/ansible-community.general
that referenced
this issue
Nov 28, 2022
In ansible-core 2.14 deprecated support was removed[1] for accessing options of the DefaultCallback via class attributes. Use the "new" config system instead. [1]: ansible/ansible@dbdbfe8 Fixes ansible-collections#5600. Signed-off-by: Fabian P. Schmidt <[email protected]>
felixfontein
added a commit
that referenced
this issue
Nov 28, 2022
* unixy Callback: Use Ansible's config manager In ansible-core 2.14 deprecated support was removed[1] for accessing options of the DefaultCallback via class attributes. Use the "new" config system instead. [1]: ansible/ansible@dbdbfe8 Fixes #5600. Signed-off-by: Fabian P. Schmidt <[email protected]> * Update changelog fragment. Signed-off-by: Fabian P. Schmidt <[email protected]> Co-authored-by: Felix Fontein <[email protected]>
patchback bot
pushed a commit
that referenced
this issue
Nov 28, 2022
* unixy Callback: Use Ansible's config manager In ansible-core 2.14 deprecated support was removed[1] for accessing options of the DefaultCallback via class attributes. Use the "new" config system instead. [1]: ansible/ansible@dbdbfe8 Fixes #5600. Signed-off-by: Fabian P. Schmidt <[email protected]> * Update changelog fragment. Signed-off-by: Fabian P. Schmidt <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 53da86c)
patchback bot
pushed a commit
that referenced
this issue
Nov 28, 2022
* unixy Callback: Use Ansible's config manager In ansible-core 2.14 deprecated support was removed[1] for accessing options of the DefaultCallback via class attributes. Use the "new" config system instead. [1]: ansible/ansible@dbdbfe8 Fixes #5600. Signed-off-by: Fabian P. Schmidt <[email protected]> * Update changelog fragment. Signed-off-by: Fabian P. Schmidt <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 53da86c)
felixfontein
pushed a commit
that referenced
this issue
Nov 29, 2022
* unixy Callback: Use Ansible's config manager In ansible-core 2.14 deprecated support was removed[1] for accessing options of the DefaultCallback via class attributes. Use the "new" config system instead. [1]: ansible/ansible@dbdbfe8 Fixes #5600. Signed-off-by: Fabian P. Schmidt <[email protected]> * Update changelog fragment. Signed-off-by: Fabian P. Schmidt <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 53da86c) Co-authored-by: Fabian P. Schmidt <[email protected]>
felixfontein
pushed a commit
that referenced
this issue
Nov 29, 2022
* unixy Callback: Use Ansible's config manager In ansible-core 2.14 deprecated support was removed[1] for accessing options of the DefaultCallback via class attributes. Use the "new" config system instead. [1]: ansible/ansible@dbdbfe8 Fixes #5600. Signed-off-by: Fabian P. Schmidt <[email protected]> * Update changelog fragment. Signed-off-by: Fabian P. Schmidt <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 53da86c) Co-authored-by: Fabian P. Schmidt <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When using the
community.general.unixy
callback plugin with a recent version of ansible I get a warning'CallbackModule' object has no attribute 'display_failed_stderr'
and the task output is not shown.This is a regression introduced by ansible/ansible@dbdbfe8 via ansible/ansible#77677
I already prepared a patch to fix this by using the new
self.get_option
interface and I'd be happy to open a PR with it.Issue Type
Bug Report
Component Name
community.general.unixy
Ansible Version
Community.general Version
Configuration
OS / Environment
Manjaro Linux 22.0
Steps to Reproduce
Any playbook with tasks producing output will trigger this. I tested with the following:
playbook.yml
:Expected Results
The task output should be shown.
Actual Results
Task output is missing, but warning shown:
Code of Conduct
The text was updated successfully, but these errors were encountered: