Holds ansible automation for Cerberus project.
https://www.cerberus.zone/running-a-validator.html
Create an inventory file that contains the following:
[$NAME.cerberus]
$IP_ADDRESS
[$NAME.cerberus:vars]
ansible_connection=ssh
ansible_user=root
validator_owner=$NAME_OF_THE_VALIDATOR
moniker_name="$NAME_OF_THE_MONIKER"
^^^ all names can be the same ^^^
ansible-playbook -i VALIDATOR.inventory playbooks/01_linux_config.yaml
ansible-playbook -i VALIDATOR.inventory playbooks/02_firewall.yaml
ansible-playbook -i VALIDATOR.inventory playbooks/03_cerberus_dependency_deployer.yaml
cd /home/cerberusjah/; ./cerberus_installer.sh
cerberusd init "${MONIKER_NAME}" --chain-id cerberus-chain-1
cd /home/cerberusjah/; ./cerberus_config.sh
cerberusd keys add <key-name> --keyring-backend os
ansible-playbook -i VALIDATOR.inventory playbooks/04_cerberus_deployer.yaml
Wait for the validator to be in sync (cerberusd status) and then run the create-validator command:
cerberusd tx staking create-validator \
--from "<key-name>" \ <-------------------------------------------------------------- TO BE REPLACED
--amount "1000000000000ucrbrus" \ <-------------------------------------------------- TO BE REPLACED
--pubkey=$(cerberusd tendermint show-validator) \
--commission-max-change-rate 0.01 \
--commission-max-rate 0.20 \
--commission-rate 0.05 \
--min-self-delegation 1 \
--chain-id "cerberus-chain-1" \
--moniker $MONIKER_NAME \
--details "Enter a description about your validation" \ <---------------------------- TO BE REPLACED
--security-contact "security contact email" \ <-------------------------------------- TO BE REPLACED
--website "www.SomeWebsite.com" -y <------------------------------------------------- TO BE REPLACED