1. How does SSH connectivity works ?
The known_hosts
file lets the client authenticate the server, to check that it isn't connecting to an impersonator. The authorized_keys
file lets the server authenticate the user.
2. Location of Ansible Configuration Settings ?
Changes can be made and used in a configuration file which will be searched for in the following order:
ANSIBLE_CONFIG
- environment variable if set (Highest priority)ansible.cfg
- in the current directory~/.ansible.cfg
- in the home directory/etc/ansible/ansible.cfg
(Lowest priority)
Reference: