Role Variables
This page describes the the main variables.
Role variables are defined in 'defaults'. This means they have the lowest precedence and can be easily overridden. See Ansible documentation for details on the precedence.
All client specific variables are defined in their corresponding variable file. All client specific variables have unique names (prefixed with clientname_) so there's no risk of a clash.
Variable location | Purpose |
---|---|
defaults/main/main.yml | generic variables for the role; common variables for all clients |
defaults/main/{{client}}.yml | variables specific to the client |
vars/{{os_family}}.yml | variables specific to the OS |
Important variables
This section outlines variables that you will most likely want to modify.
clients
"clients" variable defines what clients will be deployed. It defaults to geth and lighthouse. Possible values are:
execution: geth / nethermind / erigon / besu
consensus and validator: lighthouse, prysm, teku, nimbus
deploy_execution / deploy_consensus / deploy_validator
These three variables define which layer of the stack will be deployed. By default all three layers are deployed. Check out examples to see how they can be used.
enable_firewall
By default set to true, the role will make sure the firewall package is installed and will configure rules for the client that is being deployed.
This is meant to be a safe default for anyone who uses the role to deploy on a server that is directly exposed to the internet (for example an OVH bare metal server). It is expected that for more enterprise type of deployments this would be set to false. Refer to Host firewall section for details and notes on SSH port.
network
Specifies Ethereum network to connect to.
consensus_checkpoint_sync_enabled
Enable/disable consensus client checkpoint sync feature. Defaults to "true" (sync from checkpoint).
Refer to Checkpoint sync section for details.
consensus_checkpoint_sync_url
Beacon endpoint to sync from. This needs to match the network you are deploying on - network variable. Defaults to Goerli.
Refer to Checkpoint sync section for details.
suggested_fee_recipient
A priority fee recipient address on your validator client instance and consensus node.
graffiti
Last updated