Playbook log output of different plays are intermixed #63314
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
P3
Priority 3 - Approved, No Time Limitation
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
When I run a playbook with several plays, the CLI output subdivides the log into all plays by these
PLAY [<HOSTS>] ************************
dividing lines. Somehow, however, warnings about not matched host patterns are sorted in the play logs section of the preceeding play.ISSUE TYPE
COMPONENT NAME
ansible-playbook
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Just run this playbook below via
ansible-playbook <FILE>
.EXPECTED RESULTS
I expect all output of each play to be contained within its corresponding section.
ACTUAL RESULTS
As you can see below, the warnings are grouped above the corresponding section, instead of inside if it. So the output that
host2
of the second play cannot be matched, is already printed before the second play starts. Would be cool if this could be fixed, as this aids error search, especially we as beginners would faster understand what’s going up.Instead, I would expect something like this:
The text was updated successfully, but these errors were encountered: