Your ansible.cfg: Sensible Defaults
Configure the project-level settings file.
The Config File
Ansible reads settings from ansible.cfg. It controls defaults like which inventory to use and how to connect, so you type less.
Project-Level Wins
Drop an ansible.cfg in your project folder. A local file beats the global one, keeping each project's settings self-contained.
All lessons in this course
- Installing the Ansible Control Node
- SSH Keys & Passwordless Login
- Your ansible.cfg: Sensible Defaults
- Ping a Host with the ping Module