Likewise,
because you can have multiple configuration files that have
different default sets, it's important,
you understand the precedence order. Or you'll remember that for
the inventory file, that if there's an inventory in the same
folder or directory as the playbook, it'll use that.
Otherwise, it'll use the global location, and you
can customize that yet further.
Same thing with config file.
The ANSIBLE_CONFIG environment variable will be used first by Ansible.
Next, if there's an ansible.cfg in the current directory,
it'll use that. Next, the current users or the process's home
directory. Then the system directory, etc/ansible. And then lastly,
just a tip using the Ansible command line interface,
you could do ansible version or ansible‑config list to see the currently
active config file, sort of a who's on first situation.