Ansible ssh connections failed with SSH Error: unix_listener: "[home directory]" too long for Unix domain socket, typically against hosts with long names such as EC2 public DNS names. The ControlPath socket path exceeded the OS limit for unix socket paths. The error message printed the full socket path, which made the overlong hostname portion obvious.