Questo è un problema noto e ho trovato una soluzione, ma non funziona per me.Ansible: SSH Errore: unix_listener: troppo lungo per socket di dominio Unix
Prima ho avuto:
fatal: [openshift-node-compute-e50xx] => SSH Error: ControlPath too long
It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
Così ho creato un ~/.ansible.cfg
. Il suo contenuto:
[ssh_connection]
control_path=%(directory)s/%%h‐%%r
Ma dopo aver ripetuto il mio ansible ho un errore su "troppo lungo".
fatal: [openshift-master-32axx] => SSH Error: unix_listener: "/Users/myuser/.ansible/cp/ec2-xx-xx-xx-xx.eu-central-1.compute.amazonaws.com-centos.AAZFTHkT5xXXXXXX" too long for Unix domain socket
while connecting to 52.xx.xx.xx:22
It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
Perché è ancora troppo lungo?
Possibile duplicato di [Ansible: SSH Errore: ControlPath troppo lungo] (http://stackoverflow.com/questions/33516218/ansible -ssh-error-controlpath-too long) – Jakuje
Correlato, ma non un duplicato. Si tratta di risolverlo nella configurazione di Ansible mentre il possibile duplicato riguarda ssh config stesso. – udondan