Our server configurations.
- Debian Stretch or newer on nodes
- Ansible 2.2 or newer on local machine
- CloudFlare or any other DNS provider supported by Lexicon
- Run
make scaffoldto generate thesharedandprivatedirectories- The
shareddirectory is meant to be shared with your group, and theprivatedirectory is, well, private.
- The
- Edit configurations in
shared- You will need to edit the domain names in
playbooks/main.ymlas well if you aren't deploying to LUG@UCI servers
- You will need to edit the domain names in
- Authorize
private/ansible.key.pubon your nodes - Run
make deployand hope things don't break - Share the
shareddirectory after verifying that everything works
It's important that everyone's shared directory is up-to-date. An alternative to sharing configurations is to deploy with a central interface (e.g. Semaphore).
To force a rebuild of the MediaWiki database, delete the database and LocalSettings.php, then run Ansible again.