This role is designed to deploy and set up Geth and Lighthouse clients on Linux distributions like Debian and Ubuntu, along with additional wallets. Leveraging HAProxy, all RPC requests will be intelligently routed to both Ethereum clients using a round-robin traffic strategy.
This role is specifically developed for Linux distributions like Debian and Ubuntu, It is not compatible with other operating systems.
This role incorporates variables defined in both defaults/main.yml.
To execute the Ansible playbook on the target Linux box, follow these steps:
-
Login to the Linux Box: SSH into the Linux box where you want to execute the Ansible playbook.
-
Switch to Root: Switch to the root user using the following command:
sudo su -
- Install Ansible and Git: Install Ansible and Git using the apt package manager:
sudo apt update
sudo apt install ansible git -y
- Clone Repository: Clone the repository locally:
git clone https://github.com/draju1980/kube-node.git
- Change Directory: Change to the eth-HA directory:
cd kube-node
- Run Ansible Playbook: Run the Ansible playbook using the inventory file:
ansible-playbook -i inventory.ini tasks/main.yml