ansible/changelogs/fragments/73814-host_label.yaml
Alex Willmer 185d410316
Factor out host_label() in default stdout callback plugin (#73814)
This simplifies rendering the hostname (or hostname+delegated host) in
the default callback module, and reduces code duplication

I've chosen not move where in each handler the host label is rendered,
in case subsequent operations has side effects. However I'm happy to
change that if considered safe.

I've chosen not to change the formatting operator used (%), to avoid
changes in rendering that might result.

Signed-off-by: Alex Willmer <alex@moreati.org.uk>
2021-04-16 11:12:25 -04:00

4 lines
173 B
YAML

minor_changes:
- >-
`ansible.plugins.callback.CallbackBase.host_label()` has been factored out
as a static method (https://github.com/ansible/ansible/pull/73814).