tripleo-ansible/tripleo_ansible
Emilien Macchi 8ae51ffba1 Add a new callback: tripleo_states
Summary: print out nodes which failed and were ignored

Within the context of max_fail_percentage, we want to improve UX by
displaying which nodes failed to be deployed or were unreachable, probably
because max_fail_percentage was set to a value which matches the play
results.

e.g. we tolerate 10% of compute node failures and two nodes failed
without blocking the whole deployment; the callback will display the
following message:

~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~Elapsed Time: 0:45:36.997 ~~~~~~~~~~~~~~~~~~~~
(...)
~~~~~~~ Number of nodes which did not deploy successfuly: 2 ~~~~
This or these node(s) failed to deploy: compute23, compute 45

In the future, this callback will be useful to improve state
informations that are displayed by Ansible when it's done running.

Change-Id: Ib337ea6c9c54a38cf11d021bce4edaf60e9928bd
(cherry picked from commit e3f551725b)
2020-07-13 21:19:13 +00:00
..
ansible_plugins Add a new callback: tripleo_states 2020-07-13 21:19:13 +00:00
playbooks Add support for Octavia amphora log offloading 2020-06-04 14:55:53 -07:00
roles Merge "Simplify ssh_known_hosts role" into stable/train 2020-07-08 20:59:51 +00:00
roles.galaxy Add galaxy role path which will be ignored by git 2019-07-18 13:40:14 -05:00
tests Use filter for containers not running check 2020-06-29 08:58:07 -04:00
ansible-role-requirements.yml Introduce tripleo-config role 2019-07-30 13:02:25 -05:00