Ansible role for a go-ethereum container in Status infra
Go to file
Jakub Sokołowski 5561ac5194
add MIT license
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 15:31:12 +02:00
defaults improve account creation, allow specifying account json 2019-04-26 15:24:37 +02:00
handlers add tasks, defailts, and handlers for the role 2019-04-26 11:54:14 +02:00
meta add metadata for role 2019-04-26 11:29:00 +02:00
tasks improve account creation, allow specifying account json 2019-04-26 15:24:37 +02:00
templates add ageth - a wrapper script for accessing geth console 2019-04-26 14:13:20 +02:00
LICENSE add MIT license 2019-04-26 15:31:12 +02:00
README.md udpate README 2019-04-26 15:27:38 +02:00

README.md

Description

This role configures a geth(go-ethereum) container.

The image used by default is ethereum/client-go.

Configuration

The only mandaotry settings is the account password, which can be set to an empty string:

geth_account_password: 'my-secret-password'

Other important settings are:

geth_cont_name: 'geth-mainnet'
geth_network_name: 'mainnet'
geth_sync_mode: 'full'
geth_log_level: 3
geth_consul_extra_tags: ["mytag"]

If you want to control the account used by the geth process you can use:

geth_account_addr: 0x1j98dsa087fh09as8d7fhsa98dhfas9s0dasjd0d
geth_account_pass: my-secret-account-pass
geth_account_json: '{"account":"json_data"}'

For the rest see the defaults/main.yml config file.

Known Issues

Currently only 3 networks are supported: mainnet, ropsten, and goerli