Warhorse
Search…
Requirements

To use Warhorse, we need to install two different software packages, Ansible and Terraform. The instructions to install this software are below.
macOS
Linux
Windows
Install Ansible
Run the following command to install Ansible with brew.
brew install ansible
Install Terraform
Run the following command to install Terraform with brew.
brew install terraform
Run the following command from the root of the warhorse repository folder to install all Ansible roles.
cd warhorse
ansible-galaxy install -r requirements.yml -p roles/
export ANSIBLE_VAULT_PASSWORD_FILE=./vault-env
Install Terraform
Run the following commands to install Terraform with APT
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install terraform
Install Ansible
Run the following commands to install Ansible with APT
sudo apt-get update
sudo apt-get install software-properties-common -y
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible-core -y

Run the following command from the root of the warhorse repository folder to install all Ansible roles.
cd warhorse
ansible-galaxy install -r requirements.yml -p roles/
export ANSIBLE_VAULT_PASSWORD_FILE=./vault-env

You will need to buy a domain name. For our use case, the name does not really matter. I would recommend only using this domain for Warhorse, but it is possible to reuse your domain name. There are lots of great places to buy a domain name, one good one is https://porkbun.com/

You will need to use a cloud provider, and more importantly, you will need API keys. You will only need API keys for the services you plan to use.
AWS
Digital Ocean
Azure

To utilize backups and a Terraform state file, you will need an S3 bucket. You can use any service as long as it support's the S3 protocol. Examples included Amazon S3, Digital Ocean Spaces, and Backblaze B2, just to name a few.

Copy link
Edit on GitHub
On this page
Software
DNS
Cloud Provider
Secrets
S3 (Compatible) Bucket