infra-faucet/ansible/main.yml

59 lines
1.7 KiB
YAML
Raw Normal View History

---
- name: Install origin certificates
hosts: faucet-master
roles:
- { role: origin-certs, tags: origin-certs }
- name: Create a SWAP file
hosts: faucet-master
roles:
- { role: swap-file, tags: swap-file }
- name: Configure Ropsten faucet
hosts: faucet-master
roles:
- { role: infra-role-geth, tags: infra-role-geth }
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
- { role: faucet-api, tags: faucet-api }
- { role: geth-peer-fix, tags: geth-peer-fix }
vars:
faucet_network: ropsten
faucet_http_port: 3000
geth_port: 30303
geth_rpc_port: 8545
geth_websocket_port: 8546
geth_expo_cont_port: 9200
geth_cont_mem_ratio: 0.2
- name: Configure Rinkeby faucet
hosts: faucet-master
roles:
- { role: infra-role-geth, tags: infra-role-geth }
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
- { role: faucet-api, tags: faucet-api }
- { role: geth-peer-fix, tags: geth-peer-fix }
vars:
faucet_network: rinkeby
faucet_http_port: 3001
geth_port: 30304
geth_rpc_port: 8547
geth_websocket_port: 8548
geth_expo_cont_port: 9201
geth_cont_mem_ratio: 0.2
- name: Configure Goerli faucet
hosts: faucet-master
roles:
- { role: infra-role-geth, tags: infra-role-geth }
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
- { role: faucet-api, tags: faucet-api }
- { role: geth-peer-fix, tags: geth-peer-fix }
vars:
faucet_network: goerli
faucet_http_port: 3002
geth_port: 30305
geth_rpc_port: 8549
geth_websocket_port: 8550
geth_expo_cont_port: 9202
geth_cont_mem_ratio: 0.5