traditional config file was ansible.cfg it was used by ansible playbook, ansible-inventory, ansible-config
now we use ansible-navigator for run, inventory, config. It uses a execution environment which is in a container It has a configuration file called ansible-navigaor.yml
You can create and edit two files in each of your Ansible project directories that configure the behavior of Ansible and the ansible-navigator command: ansible.cfg, which configures the behavior of several Ansible tools. ansible-navigator.yml, which changes default options for the ansible-navigator command.