Tag Archives: ansible

How to Solve Error: Received message too long

[root@ .ssh]# ansible test -m command -a ‘ls -al /data/’
10.25.1.167 | FAILED => failed to transfer file to /root/.ansible/tmp/ansible-tmp-1600246118.95-168806641275429/command:

Received message too long 1953461345

The .bashrc file for the root user of the remote server has execution-related output, resulting in a successful login, but too much data is received