ansible_stdout_compact_logger icon indicating copy to clipboard operation
ansible_stdout_compact_logger copied to clipboard

When running multiple ansible processes, hosts and tasks get mixed up

Open nkakouros opened this issue 5 years ago • 0 comments

I do not really know if this is an issue with this callback plugin, but when i do sth like:

for instance in "${instances[@]}"; do
  ansible-playbook -i "$instance" playbook.yml &
done

I get tasks that should be run on one instance tagged as having been run on another. For example:

[05:33:20] twmn.holey-firefox : file | en2720-w11-buckeye -> localhost | SUCCESS | 249ms
[05:33:20] twmn.holey-firefox : template | en2720-w11-sea-turtle | SUCCESS | 1372ms

Above, the twmn.holey-firefox role runs only for the en2720-w11-buckeye instance. However the second line shows it as having been run against en2720-w11-sea-turtle.

This is just an output issue as the tasks are run correctly.

nkakouros avatar Sep 02 '19 09:09 nkakouros