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 scaffold
to generate theshared
andprivate
directories- The
shared
directory is meant to be shared with your group, and theprivate
directory is, well, private.
- The
- Edit configurations in
shared
- You will need to edit the domain names in
playbooks/main.yml
as well if you aren't deploying to LUG@UCI servers
- You will need to edit the domain names in
- Authorize
private/ansible.key.pub
on your nodes - Run
make deploy
and hope things don't break - Share the
shared
directory 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.