You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
changed the title
Enhancement: Improve usability by leveraging custom Ansible callback plugin
Enhancement: improve usability by leveraging custom Ansible callback plugin
Feb 15, 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
The text was updated successfully, but these errors were encountered: