2019-03-18 15:44:43 +00:00
|
|
|
---
|
2021-05-11 07:22:02 +00:00
|
|
|
- name: Verify Ansible versions
|
|
|
|
hosts: all
|
|
|
|
tags: always
|
|
|
|
become: false
|
|
|
|
run_once: true
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
|
|
|
|
2021-03-25 12:03:16 +00:00
|
|
|
- name: Install certs, open ports, add SWAP
|
2019-03-19 11:08:43 +00:00
|
|
|
hosts: faucet-master
|
|
|
|
roles:
|
2019-11-19 20:18:29 +00:00
|
|
|
- { role: origin-certs, tags: origin-certs }
|
2021-03-25 12:03:16 +00:00
|
|
|
- { role: open-ports, tags: open-ports }
|
|
|
|
- { role: swap-file, tags: swap-file }
|
2019-07-24 02:33:43 +00:00
|
|
|
|
2021-02-04 21:50:58 +00:00
|
|
|
- name: Configure Ropsten faucet
|
2019-07-24 02:33:43 +00:00
|
|
|
hosts: faucet-master
|
|
|
|
roles:
|
2020-01-29 12:58:20 +00:00
|
|
|
- { role: infra-role-geth, tags: infra-role-geth }
|
|
|
|
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
|
|
|
|
- { role: faucet-api, tags: faucet-api }
|
2019-07-24 02:33:43 +00:00
|
|
|
vars:
|
2021-03-25 12:03:16 +00:00
|
|
|
faucet_network: 'ropsten'
|
|
|
|
faucet_cont_port: 3000
|
2021-03-19 11:43:55 +00:00
|
|
|
geth_sync_mode: 'snap'
|
2019-07-24 02:33:43 +00:00
|
|
|
geth_port: 30303
|
|
|
|
geth_rpc_port: 8545
|
2021-03-25 10:46:36 +00:00
|
|
|
geth_metrics_port: 6060
|
2020-11-25 20:39:42 +00:00
|
|
|
geth_websocket_port: 8546
|
2019-07-24 02:33:43 +00:00
|
|
|
geth_expo_cont_port: 9200
|
2021-03-25 10:47:22 +00:00
|
|
|
geth_cont_mem_ratio: 0.4
|
2021-02-06 19:34:16 +00:00
|
|
|
geth_bootnodes: '{{ revived_ropsten_bootnodes }}'
|
2019-07-24 02:33:43 +00:00
|
|
|
|
2021-02-04 21:50:58 +00:00
|
|
|
- name: Configure Rinkeby faucet
|
2019-07-24 02:33:43 +00:00
|
|
|
hosts: faucet-master
|
|
|
|
roles:
|
2020-01-29 12:58:20 +00:00
|
|
|
- { role: infra-role-geth, tags: infra-role-geth }
|
|
|
|
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
|
|
|
|
- { role: faucet-api, tags: faucet-api }
|
2019-07-24 02:33:43 +00:00
|
|
|
vars:
|
2021-03-25 12:03:16 +00:00
|
|
|
faucet_network: 'rinkeby'
|
|
|
|
faucet_cont_port: 3001
|
2019-07-24 02:33:43 +00:00
|
|
|
geth_port: 30304
|
2020-11-25 20:39:42 +00:00
|
|
|
geth_rpc_port: 8547
|
2021-03-25 10:46:36 +00:00
|
|
|
geth_metrics_port: 6061
|
2020-11-25 20:39:42 +00:00
|
|
|
geth_websocket_port: 8548
|
2019-07-24 02:33:43 +00:00
|
|
|
geth_expo_cont_port: 9201
|
2021-02-04 21:50:58 +00:00
|
|
|
geth_cont_mem_ratio: 0.2
|
2019-07-24 02:33:43 +00:00
|
|
|
|
2021-02-04 21:50:58 +00:00
|
|
|
- name: Configure Goerli faucet
|
2019-07-24 02:33:43 +00:00
|
|
|
hosts: faucet-master
|
2019-03-18 15:44:43 +00:00
|
|
|
roles:
|
2020-01-29 12:58:20 +00:00
|
|
|
- { role: infra-role-geth, tags: infra-role-geth }
|
|
|
|
- { role: infra-role-geth-exporter, tags: infra-role-geth-exporter }
|
|
|
|
- { role: faucet-api, tags: faucet-api }
|
2019-07-24 02:33:43 +00:00
|
|
|
vars:
|
2021-03-25 12:03:16 +00:00
|
|
|
faucet_network: 'goerli'
|
|
|
|
faucet_cont_port: 3002
|
2021-03-19 13:10:03 +00:00
|
|
|
geth_sync_mode: 'snap'
|
2019-07-24 02:33:43 +00:00
|
|
|
geth_port: 30305
|
2020-11-25 20:39:42 +00:00
|
|
|
geth_rpc_port: 8549
|
2021-03-25 10:46:36 +00:00
|
|
|
geth_metrics_port: 6062
|
2020-11-25 20:39:42 +00:00
|
|
|
geth_websocket_port: 8550
|
2019-07-24 02:33:43 +00:00
|
|
|
geth_expo_cont_port: 9202
|
2021-03-25 10:47:22 +00:00
|
|
|
geth_cont_mem_ratio: 0.4
|