Skip to content

bridgecrew-perf7/consensus-deployment-ansible

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth2 minimal ansible

This repository is a minimal set of playbooks and inventories required to set up an eth2 node or an eth2 testnet.

Git submodules

This repository uses git submodules for some dependencies. You can fetch submodules using:

git submodule update --init --recursive

Usage

  • Fork this repository for your required devnet (Ideally it is a throwaway devnet)
  • Modify the testnets/<name>/inventory/dynamic.py file with the correct tags and client distribution
  • Generate the keys from the mnemonic by running the generate_keys.sh file (after exporting the mnemonic)
  • If needed, modify the testnets/<name>/custom_config_data/ folder with the genesis.ssz and eth2_config.yaml
  • Modify the testnets/<name>/inventory/group_vars/eth2client_<client_name>.yml if required
  • Check the inventory with ansible-inventory -i testnets/<name>/inventory/dynamic.py --list
  • Run the playbook to run all beacon nodes and validators with ansible-playbook -i testnets/<name>/inventory/dynamic.py playbooks/setup_beacon_and_validators_full.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 65.7%
  • Python 22.7%
  • Jinja 11.6%