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

Enhancement: improve usability by leveraging custom Ansible callback plugin #13

Open
haubenr opened this issue Feb 7, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@haubenr
Copy link
Collaborator

haubenr commented Feb 7, 2022

Currently some of the long-running playbook tasks (especially the cluster installation task) do not display any meaningful message on the console besides the default 'FAILED - RETRYING: wait until... (XX retries left).' message. This is not particularly helpful for the user and potentially misleading due to the inclusion of the 'FAILED' keyword in the message.

A better alternative would be to display a custom message to assure the user that everything is alright and things are progressing nicely. For this, the following Ansible callback plugin could be used: https://docs.ansible.com/ansible/latest/collections/community/general/diy_callback.html

For examples on how to customize the messages for 'until' loops with the help of this plugin see here: ansible/ansible#32584

@haubenr haubenr self-assigned this Feb 7, 2022
@haubenr haubenr changed the title Improve usability by leveraging custom Ansible callback plugin Enhancement: Improve usability by leveraging custom Ansible callback plugin Feb 15, 2022
@haubenr haubenr changed the title Enhancement: Improve usability by leveraging custom Ansible callback plugin Enhancement: improve usability by leveraging custom Ansible callback plugin Feb 15, 2022
@haubenr haubenr added the enhancement New feature or request label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant