{"repo":"0xPolygon/node-ansible","free":true,"listed":false,"github":"https://github.com/0xPolygon/node-ansible","clone":"git clone https://github.com/0xPolygon/node-ansible.git","description":"Ansible scripts to setup Matic validator node","language":"Shell","stars":99,"topics":["maticnetwork","ansible","ethereum","web3","heimdall","bor"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Node Ansible Ansible playbooks to setup Matic validator node. Requirements Make sure you are using python3.x with Ansible. To check: ansible --version Inventory Ansible manages hosts using inventory.yml file. Setup inventory Add nodes ip's in inventory.yml as example Example: To check if nodes are reachable, run following commands: Networks There are two networks available: mainnet (Mainnet v1) amoy (Amoy testnet) While running Ansible playbook, network node type heimdall version bor version needs to be set. These Values can be passed in --extra-var Sentry node setup To show list of hosts where the playbook will run (notice --list-hosts at the end): To run actual playbook on sentry nodes: Validator node setup (with sentry) To show list of hosts where the playbook will run (notice --list-hosts at the end): To run actual playbook on validator node: To setup a validator wallet/keys Archive node setup To show list of hosts where the playbook will run (notice --list-hosts at the end): To run actual playbook on archive node: Check sync status To check the sync status you can run the follwing command on your node You can also use the following playbook The key called catching up will show your sync status, if it's not catching up it means that you are fully synced! Start The Bor service after the above command shows as false that mean heimdall is in sync Command to Start Bor Service Management commands To clean deployed setup (warning: this will delete all blockchain data) To show H","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xPolygon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xPolygon/node-ansible/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}