ansible/test
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
..
ansible_test
integration [2.12] Add accept_newhostkey option to git module (#73819) 2021-04-16 11:10:35 -04:00
lib/ansible_test deprecated include (#71262) 2021-04-15 14:19:04 -04:00
sanity [conditional] Remove support for bare variables (#74208) 2021-04-13 11:12:10 -04:00
support Overhaul ansible-test container management. 2021-04-12 12:40:36 -07:00
units Factor out host_label() in default stdout callback plugin (#73814) 2021-04-16 11:12:25 -04:00
utils/shippable module compat for py3.8+ controller (#73423) 2021-02-10 21:32:59 -08:00