Skip to content

Latest commit

 

History

History
142 lines (87 loc) · 5.4 KB

README.md

File metadata and controls

142 lines (87 loc) · 5.4 KB

Cardano Node Ansible role

README Header

Ansible role to install Cardano binaries from source. This is a best practice guide on how to install a Cardano for people who are interested to run a professional ADA Staking Pool.


Usage

Requirements

None.

Role Variables

The following variables are also availble with defaults:

    ### Server settings
    #  Cardano username (cannot be 'admin' or 'root')
    server_username: cardano
    server_hostname: cardano-eu-central-1

    # Cabal
    cabal_install_version: 3.2.0.0
    cabal_base_url: "https://downloads.haskell.org"
    cabal_install_url: "{{ cabal_base_url }}/~cabal/cabal-install-{{ cabal_install_version }}/cabal-install-{{ cabal_install_version }}-x86_64-unknown-linux.tar.xz"

    # GHC
    ghc_install_version: 8.6.5
    ghc_install_url: "https://downloads.haskell.org/~ghc/{{ ghc_install_version }}/ghc-{{ ghc_install_version }}-x86_64-deb9-linux.tar.xz"

    # Libsodium
    libsodium_github_url: "https://github.com/input-output-hk/libsodium"
    libsodium_version_tag:  "66f017f1"

    # Cardano
    cardano_github_url: "https://github.com/input-output-hk/cardano-node.git"
    cardano_version: "1.14.2"
    cardano_install_dir: "/opt/cardano/cnode"
    cardano_config_dir: "{{ cardano_install_dir }}/configuration"
    cardano_scripts_dir: "{{ cardano_install_dir }}/scripts"
    cardano_default_port: "3000" # Amend if running relay and producer on same box

    # Shelly Testnet Configuration
    cardano_shelly_test_config: "https://hydra.iohk.io/build/3246637/download/1/shelley_testnet-config.json"
    cardano_shelly_test_genesis: "https://hydra.iohk.io/build/3246637/download/1/shelley_testnet-genesis.json"
    cardano_shelly_test_topology: "https://hydra.iohk.io/build/3246637/download/1/shelley_testnet-topology.json"

Dependencies

None.

Examples

Follow this example Playbook

    ---
    - hosts: all
      become: yes
      gather_facts: yes
      vars:
        # Cordano build tag
        cardano_version: "1.14.2"
      roles:
        - role: sionsmith.cardano_node

Customer Stories

Discover our customer stories and see what OSO can deliver for your business.

  • Mylo Staking - We at OSO are supporting the decentralised movement by running our own stake pool.

Need some help

File a GitHub issue, send us an email or tweet us.

The legals

Copyright © 2017-2021 OSO | See LICENCE for full details.

OSO who we are

Who we are

We at OSO help teams to adopt emerging technologies and solutions to boost their competitiveness, operational excellence and introduce meaningful innovations that drive real business growth. Our developer-first culture, combined with our cross-industry experience and battle-tested delivery methods allow us to implement the most impactful solutions for your business.

Looking for support applying emerging technologies in your business? We’d love to hear from you, get in touch by email

Start adopting new technologies by checking out our other projects, follow us on twitter, join our team of leaders and challengers, or contact us to find the right technology to support your business.Beacon