freephile / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Document and/or fixup Ansible configuration #56

Open freephile opened 7 months ago

freephile commented 7 months ago

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.html

So, we must update documentation and procedures to instruct users to cd /opt/meza/config before issuing any meza commands such as meza create wiki-promptless or meza deploy monolith.

Or, we could improve the meza.py to ensure that the configuration is found and loaded.

freephile commented 3 days 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 will process the above list and use the first file found, all others are ignored.

Stack Overflow discussion