ansible-playbook error: Failed to connect to the host via ssh: ControlPath too long
参考: https://stackoverflow.com/questions/33516218/ansible-ssh-error-controlpath-too-long/33516873
解决方法:
在ansible.cfg配置文件中,添加:
[ssh_connection]
ssh_args =
该命令将会覆盖默认配置,将ControlMaster/ControlPersistent/ControlPath的配置值置为空。

浙公网安备 33010602011771号