GithubHelp home page GithubHelp logo

chrismahoney / ansible-avalanche-collection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ashavalanche/ansible-avalanche-collection

0.0 0.0 0.0 71 KB

๐Ÿ” Ansible collection to manage Avalanche nodes, subnets and blockchains

License: BSD 3-Clause "New" or "Revised" License

Python 18.53% YAML 79.88% Jinja 1.59%

ansible-avalanche-collection's Introduction

Ansible Avalanche Collection

Collection providing Ansible roles, playbooks and modules to manage Avalanche nodes, subnets and blockchains.

Why an Ansible collection for Avalanche?

Ava Labs provides avalanche-network-runner to easily run a local test network (either locally or in Kubernetes).

This collection takes a different approach and provides tools for production environments. Those can also be used to bootstrap realistic test networks.

It aims at:

  • Provisioning Avalanche nodes on Fuji or Mainnet with flawless upgrade capabilities. Ansible also brings easy node configuration persistence and idempotent deployments.
  • Bootstrapping local test networks that really mimic production environments
  • Automating subnet and blockchain operations (subnet whitelisting, plugin deployment) for validators
  • And more

Requirements

Supported versions

This collection has been tested to work with the following versions:

  • Ubuntu 20.04
  • AvalancheGo >= 1.7.0

Installation

# With Ansible >= 2.10
ansible-galaxy collection install git+https://github.com/AshAvalanche/ansible-avalanche-collection.git

# With Ansible 2.9
mkdir -p ansible_collections/ash
git clone https://github.com/AshAvalanche/ansible-avalanche-collection.git ansible_collections/ash/avalanche

Getting started

The repository ansible-avalanche-getting-started provides examples of how to use the collection.

Collection resources

Modules

Roles

Playbooks

Inventory requirements

  • ash.avalanche.node:
    • All the nodes on which to install AvalancheGo have to be in the avalanche_nodes group.
    • For local networks, one of the nodes has to be in the bootstrap_node group. This node has to be started first to serve as a bootstrap node for the others. For an example of how to do that, see the bootstrap_local_network.yml playbook.
  • ash.avalanche.subnet:
    • The node used to make API calls have to be in the subnet_control_node group.
    • The nodes to be added as validators to the subnet have to be in the subnet_validators group. The Ansible host has to be able to connect to those nodes via SSH.
  • ash.avalanche.blockchain:
    • The node used to make API calls have to be in the subnet_control_node group.
    • The validators of the subnet have to be in the subnet_validators group. The Ansible host has to be able to connect to those nodes via SSH.

Roadmap

  • Avalanche transaction module
  • Subnet role
  • VMs management
  • Blockchain role
  • TLS support

ansible-avalanche-collection's People

Contributors

nuttymoon avatar leopaul36 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.