Skip to content

AnomalyFi/ansible-avalanche-getting-started

 
 

Repository files navigation

ansible-avalanche-getting-started

How to use the ash.avalanche Ansible collection to provision Avalanche resources.

Documentation

The complete documentation related to this project starts by the Local Test Network Creation tutorial.

Requirements

Setup the environment

  1. Clone the Getting Started repository:

    git clone https://github.com/AshAvalanche/ansible-avalanche-getting-started
    cd ansible-avalanche-collection-getting-started
  2. Setup and activate Python venv:

    bin/setup.sh
    source .venv/bin/activate
  3. Install the ash.avalanche collection:

    ansible-galaxy collection install git+https://github.com/AshAvalanche/ansible-avalanche-collection.git
  4. Initialize the Terraform modules:

    terraform -chdir=terraform/multipass init

Bootstrap the local test network

  1. Create the virtual machines that will host the validator nodes using Terraform (enter yes when prompted):

    terraform -chdir=terraform/multipass apply
  2. Bootstrap the Avalanche nodes:

    ansible-playbook ash.avalanche.bootstrap_local_network -i inventories/local

About

Examples of how to use ansible-avalanche-collection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • YAML 53.7%
  • HCL 38.7%
  • Shell 7.6%