"changed": false, "cmd": "sshpass -d11 /usr/bin/rsync --delay-updates -F --compress --archive ‘--rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null‘ ‘--out-format=<<CHANGED>>%i %n%L‘ /root/redis/redis.conf ‘‘", "msg": "[Errno 32] Broken pipe", "rc": 32
经乱搞得出,/etc/ansible/hosts的主机配置只能直接主机名,如果跟其他ansible_ssh*参数就会失败。
hosts配置只能如下:
[me]
192.168.33.10
ansible使用synchronize模块报Broken pipe
原文:https://www.cnblogs.com/MakeInstall/p/11417722.html