Ansible Error Fixing ControlPath Too Long Error
source link: https://fuzzyblog.io/blog/ansible/2016/12/29/ansible-error-fixing-controlpath-too-long-error.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Ansible Error Fixing ControlPath Too Long Error
Dec 29, 2016
If you get the ansible error ControlPath Too Long Error then all you need to do is create an ansible.cfg file in the directory where you run your playbook. Please note that this is generally an OSX only error related to the length of the . Then you need to add this line to it:
[ssh_connection]
control_path = %(directory)s/%%h-%%r
There are other options that can go here as well.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK