Ansible playbooks for deploying RLetters to AWS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Charles Pence 5642618b30
Update dotenv to bring it in line with master.
4 months ago
roles Update dotenv to bring it in line with master. 4 months ago
.gitignore Make sure to ignore any user-created inventories. 2 years ago Actually get everything running on CentOS. 2 years ago
Vagrantfile Make sure that maintenance defaults to false. 2 years ago
inventory.example.yml Add maintenance message support. 2 years ago
inventory.test.yml Add redirecting support. 2 years ago
requirements.yml Add full support for provisioning DB servers. 2 years ago
site.yml Split roles so that we don't install app code on DB-only servers. 2 years ago

RLetters Deployment

First, prepare your own inventory.yml file by copying inventory.example.yml and modifying it to suit your own deployment targets. That file is filled with comments that should be helpful to figure out what kinds of machines you need and how to get them configured.

The underlying systems need to be running either CentOS/RHEL 7+, or a Debian-based distribution (Jessie/15.04 or later), with systemd. Our standard testing and production deployments are on CentOS 7 at the moment.

Then, call Ansible to install the base software on all of the servers:

ansible-galaxy install -r requirements.yml
ansible-playbook -i inventory.yml site.yml