ansible.cfg


The ansible.cfg file is the main configuration file that controls how Ansible behaves globally or per project.

Where Ansible Looks for ansible.cfg (VERY IMPORTANT)

Order of precedence:

ANSIBLE_CONFIG (environment variable)
./ansible.cfg (current project directory) ✅
~/.ansible.cfg (user home)
/etc/ansible/ansible.cfg (system-wide)

💡 First one found → used

Comments

Popular posts from this blog

Container Runtime Interface

iTerm

Ansible Plugin