I’m setting up multiple teams to use one ansible host. The idea is that each team has an ansible “user” that has team playbooks, ansible.cfg file, and hosts files.
The directory I’m working in is ~ansible/lang/ansible
[defaults] become_ask_pass=True
[all] anstest01
Is your $ANSIBLE_CONFIG Variable set? Ansible will look for the first file in this order (the variable, current dir, homdir, etc/ansible).
Are you standing exactly at the same position where the ansible.cfg is?
Otherwise it should work?