Skip to content

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

@haubenr

Description

@haubenr

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions