-
Notifications
You must be signed in to change notification settings - Fork 16
/
main.yml
153 lines (129 loc) · 3.74 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
---
# Go configuration
go_arch: "{{binary_arch_map[ansible_architecture]}}"
go_version: 1.18.5
# General Gaiad settings
gaiad_user: gaia
gaiad_user_home: "/home/{{gaiad_user}}"
gaiad_home: "{{gaiad_user_home}}/.gaia"
gaiad_home_autoclear: false
gaiad_unsafe_reset: false
gaiad_version: v7.0.0
gaiad_repository: https://github.com/cosmos/gaia.git
gaiad_binary_release: "https://github.com/cosmos/gaia/releases/download/{{ gaiad_version }}/gaiad-{{ gaiad_version }}-{{binary_arch_map[ansible_architecture]}}"
gaiad_binary_source: "build"
gaiad_bin: "{{ gaiad_user_home }}/go/bin/gaiad"
gaiad_service_name: "gaiad"
gaiad_gov_testing: false
gaiad_voting_period: 10s
gaiad_bond_denom: uatom
chain_id: "theta-devnet"
# Default variables for creating a validator
gaiad_create_validator: false
gaiad_gentx_validator_stake: "8000000000{{ gaiad_bond_denom }}"
gaiad_validator_keyring: "test"
gaiad_validator_coins: "1000000000000{{ gaiad_bond_denom }}"
# Default variables for airdropping tokens
gaiad_airdrop: false
gaiad_airdrop_coins: "1000000000{{ gaiad_bond_denom }}"
gaiad_airdrop_accounts: []
# Cosmovisor settings
## TODO: Support arbitrary cosmovisor branches
use_cosmovisor: true
cosmovisor_version: v1.3.0
cosmovisor_repository: github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor
cosmovisor_bin: "{{gaiad_user_home}}/go/bin/cosmovisor"
cosmovisor_home: "{{ gaiad_home }}/cosmovisor"
cosmovisor_service_name: "cosmovisor"
cosmovisor_skip_backup: true
## config.toml variables
fast_sync: true
abci: socket
### RPC
rpc_port: '26657'
### P2P
p2p_port: '26656'
p2p_external_address: ''
p2p_seeds: ''
p2p_persistent_peers: ''
p2p_upnp: false
p2p_pex: true
p2p_seed_mode: false
p2p_private_peer_ids: false
### Statesync
statesync_enabled: false
statesync_rpc_servers: ''
statesync_trust_height: 0
statesync_trust_hash: ''
statesync_trust_period: 168h0m0s
statesync_discovery_time: 15s
statesync_chunk_request_timeout: 10s
statesync_auto_populate: true
# TODO: Why does my config say 4 when it isn't default?
statesync_chunk_fetchers: '4'
### Fastsync
fastsync_version: v0
# TODO: All the other fastsync versions?
prometheus_enabled: false
prometheus_listen_addr: :26660
instrumentation_namespace: tendermint
## app.toml variables
minimum_gas_prices: ''
pruning: default
pruning_keep_recent: '0'
pruning_keep_every: '0'
pruning_interval: '0'
halt_height: '0'
halt_time: '0'
min_retain_blocks: '0'
inter_block_cache: true
### telemetry
telemetry_service_name: ''
telemetry_enabled: false
telemetry_enable_hostname: false
telemetry_enable_hostname_label: false
telemetry_enable_service_label: false
prometheus_retention_time: '0'
### API
api_enabled: false
api_swagger: false
api_port: '1317'
### grpc
grpc_enabled: true
grpc_port: '9090'
### state-sync
statesync_snapshot_interval: 0
statesync_snapshot_keep_recent: 2
### client.toml variables
client_keyring_backend: os
client_broadcast_mode: sync
### Faucet settings
faucet_enabled: false
faucet_version: v0.2.1
faucet_service_name: token-faucet
### node exporter config
node_exporter_port: 9100
### Prometheus / Grafana defaults
grafana_ssh_url: root@monitor.polypore.xyz
monitoring_prometheus: false
### PANIC monitoring defaults
panic_ssh_url: root@monitor.polypore.xyz
monitoring_panic: false
panic_config_file: /home/panic/panic_cosmos/config/user_config_nodes.ini
panic_is_validator: 'no'
panic_include_in_node_monitor: 'yes'
panic_include_in_network_monitor: 'yes'
### Reboot after setup
reboot: true
# Vars with no defaults (to prevent code from running)
# These don't get put into config files
# genesis_url: ""
# genesis_file: ""
# addrbook_file: ""
# addrbook_url: "https://quicksync.io/addrbook.cosmos.json"
# node_key_file: ""
# priv_validator_key_file
# Architecture mapping
binary_arch_map:
aarch64: "linux-arm64"
x86_64: "linux-amd64"