File tree Expand file tree Collapse file tree 2 files changed +43
-11
lines changed Expand file tree Collapse file tree 2 files changed +43
-11
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ Design principles:
44
551 . Support both mainnet and testnet
661 . Only support chains with direct binary installation. For docker installation (Arbitrum and Aurora), users should just refer to the official doc
7- 1 . Can be used for version upgrade (default) and initial installation (with an extra flag)
8- 1 . Assume that golang already exists on the server
7+ 1 . Can be used for version upgrade (default) and initial installation (with an extra "mode=full" flag)
8+ 1 . Assume that Golang already exists on the server
99
1010## TL/DR
1111
12- You run one playbook to set up a node or update a node version. Here is a few examples:
12+ You run one playbook to set up a node or update version. Here is a few examples:
1313
1414``` bash
1515# Mainnet: upgrade version
@@ -20,12 +20,20 @@ ansible-playbook ethereum.yml -e "target=ethereum_testnet"
2020ansible-playbook ethereum.yml -e " target=ethereum_mainnet mode=full"
2121```
2222
23+ ## Setup
24+
25+ Please first copy the sample inventory file to your own inventory file so you can customize the IPs etc:
26+
27+ ``` bash
28+ cp inventory.sample inventory.ini
29+ ```
30+
2331## Supported Modes
2432
25- | Mode | Flags |
26- | -------------------- | ---------------------- |
27- | Initial Installation | ` target=XYZ mode=full ` |
28- | Version Upgrade | ` target=XYZ ` |
33+ | Mode | Flags |
34+ | ----------------- | ---------------------- |
35+ | Full Installation | ` target=XYZ mode=full ` |
36+ | Version Upgrade | ` target=XYZ ` |
2937
3038## Supported Nodes
3139
Original file line number Diff line number Diff line change 11[ethereum]
2- ethereum_mainnet ansible_host=10.0.0.1 node_type=mainnet
3- ethereum_testnet ansible_host=10.0.0.2 node_type=mainnet
2+ ethereum_mainnet ansible_host=IP node_type=mainnet
3+ ethereum_testnet ansible_host=IP node_type=testnet
4+
5+ [moonbeam]
6+ moonbeam_mainnet ansible_host=IP node_type=mainnet
7+ moonbeam_mainnet ansible_host=IP node_type=testnet
8+
9+ [celo]
10+ celo_mainnet ansible_host=IP node_type=mainnet celo_address=""
11+ celo_testnet ansible_host=IP node_type=testnet celo_address=""
12+
13+ [avalanche]
14+ avalanche_mainnet ansible_host=IP node_type=mainnet
15+ avalanche_testnet ansible_host=IP node_type=testnet
16+
17+ [binance]
18+ binance_mainnet ansible_host=IP node_type=mainnet
19+ binance_testnet ansible_host=IP node_type=testnet
20+
21+ [polygon]
22+ polygon_mainnet ansible_host=IP node_type=mainnet
23+ polygon_testnet ansible_host=IP node_type=testnet
24+
25+ [fantom]
26+ fantom_mainnet ansible_host=IP node_type=mainnet
27+ fantom_testnet ansible_host=IP node_type=testnet
428
529[all:vars]
630ansible_user=ubuntu
7- ansible_port=2200
31+ ansible_port=22
832ansible_ssh_private_key_file="~/.ssh/id_rsa"
933user_directory='/home/{{ ansible_user }}'
1034node_type_varfile='group_vars/{{ node_type }}.yml'
11- nickname='polkachu '
35+ nickname=''
You can’t perform that action at this time.
0 commit comments