"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

解决办法1:

/etc/ansible/hosts的主机配置只能直接主机名,hosts配置不能有ansible_ssh_pass,python2版本sync不支持密码选项。

 

解决办法2:ansible2.8+python3可以解决此问题

具体问题参考:https://github.com/ansible/ansible/issues/56629

相关文章:

  • 2021-10-23
  • 2021-08-01
  • 2021-08-01
  • 2021-10-21
  • 2022-02-05
  • 2022-12-23
  • 2021-05-07
猜你喜欢
  • 2022-02-05
  • 2021-08-01
  • 2022-12-23
  • 2021-04-18
  • 2021-08-01
相关资源
相似解决方案