0Pricing
Ansible Academy · Lesson

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

  1. Installing the Ansible Control Node
  2. SSH Keys & Passwordless Login
  3. Your ansible.cfg: Sensible Defaults
  4. Ping a Host with the ping Module
← Back to Ansible Academy