run a netcat server in one terminal/tmux pane and a client in a different one. Now all lines entered in the client side, will be "typed" into multiple ssh sessions.
In this version all output comes back in a single stream:
nc -lk 12345 | while read line; do ansible -u centos -i hosts all -m raw -a "$line"; done
This version separates outputs into separate tmux panes, but ssh connection has to set up beforehand.
nc -lk 12345 | while read line; do for i in {2..6}; do tmux send-keys -t $i "$line" ENTER; done; done
connect from one terminal
nc 127.0.0.1 12345