This repository contains an Ansible playbook for setting up and managing Aleo nodes. It is designed to help you quickly deploy and configure Aleo nodes across various environments.
- Automated Aleo node setup
- Configuration management for nodes
- Support for multiple environments
Before you begin, ensure you have the following installed on your machine:
- Ansible 2.9 or higher
- SSH access to the target servers
- Python 3.9 or higher
- Clone this repository to your local machine.
- Copy the sample inventory file:
cp inventory.yml.sample inventory.yml
- Fill out the inventory information in
inventory.yml
with details of your target servers. - Run the Ansible playbook:
ansible-playbook main.yml -e target=canarynet
The playbook uses variables to customize the Aleo node setup. These variables can be found and modified in the vars/main.yml
file.
Common configurations include network id, peers, and validator peers.
To deploy Aleo nodes to your specified environment, use the following command:
ansible-playbook main.yml -e target=<environment>
Replace <environment>
with your target environment, such as canarynet
, testnet
, or mainnet
.
For issues and questions about this playbook, please open an issue in the GitHub repository.
Contributions to this playbook are welcome. Please fork the repository, make your changes, and submit a pull request.
This Ansible playbook is released under the MIT License. See the LICENSE file for more details.