ansible - nimrody/knowledgebase GitHub Wiki
-
Example of ansible.cfg
Added
remote_user=vagrant
(under[defaults]
section) to force ansible to ssh using vagrant user -
Added this to my ansible config to shorten the path:
[ssh_connection] control_path = %(directory)s/%%h-%%p-%%r