learn-ansible

Q&A

1. How does SSH connectivity works ?

ssh_connectivity

ssh_key_auth

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.

Reference


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:







Resources