Open freephile opened 7 months ago
From https://docs.ansible.com/ansible/latest/reference_appendices/config.html
Changes can be made and used in a configuration file which will be searched for in the following order:
ANSIBLE_CONFIG
(environment variable if set)ansible.cfg
(in the current directory)~/.ansible.cfg
(in the home directory)/etc/ansible/ansible.cfg
Ansible will process the above list and use the first file found, all others are ignored.
Ansible will automatically find your
ansible.cfg
file if it's in the current directory with some conditions and caveats for security. ansible/latest/reference_appendices/config.htmlSo, we must update documentation and procedures to instruct users to
cd /opt/meza/config
before issuing any meza commands such asmeza create wiki-promptless
ormeza deploy monolith
.Or, we could improve the meza.py to ensure that the configuration is found and loaded.