Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running ansible playbooks after upgrade to MAC OS X El Capitan #46

Closed
ajres opened this issue Nov 6, 2015 · 3 comments
Closed

Comments

@ajres
Copy link
Contributor

ajres commented Nov 6, 2015

After upgrading MAC OX S to El Capitan, I saw the following error when running playbooks:

fatal: [ec2-52-162-162-182.compute-1.amazonaws.com] => SSH Error: unix_listener: "/Users/me/.ansible/cp/ansible-ssh-ec2-54-167-168-183.compute-1.amazonaws.com-22-centos.3g5GOs2e1yeKsSfN" too long for Unix domain socket

The solution is to add the following entry to ansible.cfg

[ssh_connection]
control_path=%(directory)s/%%C

The ansible.cfg file can be placed in the perfluseter-aws/ansible/playbook directory or in ~/.ansible.cfg

@ajres
Copy link
Contributor Author

ajres commented Nov 6, 2015

Closing this out as it's here as a note to others that follow the upgrade path.

@ajres ajres closed this as completed Nov 6, 2015
@tleyden
Copy link
Contributor

tleyden commented Nov 6, 2015

Are there any ansible forum posts or docs about this? It might be worth posting to their forum if not.

@ajres
Copy link
Contributor Author

ajres commented Nov 6, 2015

There is an ansible issue covering this issue here:

ansible/ansible#11536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants