Jakub Sokołowski
dc27740e40
Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
ansible | ||
.gitignore | ||
Makefile | ||
README.md | ||
ansible.cfg | ||
main.tf | ||
variables.tf | ||
workspaces.tf |
README.md
Description
This repo defines infrasctructure for Rinkeby and Ropsten Ethereum faucets.
The endpoints are:
Requirements
In order to use this you will need secrets(passwords, certs, keys) contained within the infra-pass repository. If you can't see it ask jakub@status.im to get you access for it.
In order for this to work first you need to install necessary Terraform plugins and get the right secrets from the infra-pass repo, to do that simply run:
make
# alternatively
make plugins
make secrets
This will put the necessary certificates, keys, and passwords are in place so you can deploy and configure hosts.
Usage
To deploy hosts simply:
terraform plan
terraform apply
Then configure hosts:
ansible-playbook ansible/main.yml
Details
Read up on the roles:
- faucet - Faucet API for distributing funds
- geth-miner - Geth miner instance for collecting funds
Read the Terraform and Ansible article in our infra-docs
repo.