Ansible: ansible.cfg – adding roles to your path, tuning OpenSSH

A few config settings to tune Ansible:

roles_path let’s you add another directory for roles.

https://docs.ansible.com/ansible/2.4/intro_configuration.html#roles-path

 

ssh_connection lets you tune the OpenSSH connection. E.g. ControlPersist (note – only modern OS’s – i.e. > RHEL6).

https://docs.ansible.com/ansible/2.4/intro_configuration.html#openssh-specific-settings

which can improve Performance settings.

https://dzone.com/articles/speed-up-ansible

but beware some potential pitfalls – use unique ControlPath settings – e.g.

control_path = %(directory)s/%%h-%%r

https://docs.ansible.com/ansible/2.4/intro_configuration.html#control-path

Leave a Reply

Your email address will not be published. Required fields are marked *