ecadlabs.tezos_baker
Ansible Role for Tezos Baking
This Ansible Role helps Ansible users quickly and easily deploy a Tezos baker.
The role is highly customizable, letting users set up nodes for different Tezos networks (like mainnet, ithacanet, jakartanet, etc.) and various economic protocols to manage block transitions.
It has been tested with Version 13 of the Tezos Node.
This role does not handle any Tezos keys.
https://galaxy.ansible.com/ecadlabs/tezos_baker
Requirements
- Docker (Tested on Debian Buster)
- ecadlabs.tezos_node
Installation
ansible-galaxy install ecadlabs.tezos_baker
Role Variables
Here are the available variables and their default values (check defaults/main.yml
):
The Tezos network you want to set up. This variable must be set, as it doesn't have a default. Common values are jakartanet
or mainnet
. The tezos_network
value is used in multiple ways, including naming Docker containers and selecting which Tezos network to use.
tezos_network:
The path on the host where the Tezos node data will be stored. This role uses Docker bind mounts instead of volumes.
node_data_dir: "/srv/tezos/{{ tezos_network }}_node"
The path on the host for the Tezos client configuration. This folder contains client settings and keys used by the tezos-client
command.
client_data_dir: "/srv/tezos/{{ tezos_network }}_client"
The version of the Tezos Docker image to use.
octez_version: v13.0
The Tezos economic protocol to run. During a protocol transition, bakers should run both protocols simultaneously. A Docker container for both the baker and accuser will be created for each protocol.
tezos_economic_protocols:
- 011-PtHangz2
- 012-Psithaca
Dependencies
Example Playbook
- hosts: servers
roles:
- role: ecadlabs.tezos_baker
tezos_network: mainnet
License
MIT
Author Information
Created by the team at ECAD Labs Inc. https://ecadlabs.com
ansible-galaxy install ecadlabs.tezos_baker