sionsmith.cardano_node
Cardano Node Ansible Role
Ansible role to install Cardano binaries from source. This guide shows how to install Cardano for those who want to run a professional ADA Staking Pool.
Usage
Requirements
None.
Role Variables
Here are some variables you can use (all have default values):
### Server settings
# Cardano username (must not 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" # Change if running relay and producer on the same server
# 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
Here’s an example Playbook:
---
- hosts: all
become: yes
gather_facts: yes
vars:
# Cardano build version
cardano_version: "1.14.2"
roles:
- role: sionsmith.cardano_node
Customer Stories
Check out our customer stories to see how OSO can help your business.
- Mylo Staking - OSO supports the decentralized movement by running our own stake pool.
Need help?
File a GitHub issue, send us an email, or tweet us.
The Legals
Copyright © 2017-2021 OSO | See LICENSE for full details.
Who We Are
At OSO, we assist teams in using new technologies and solutions to enhance their competitiveness and drive business growth. Our developer-first culture and experience in various industries enable us to deliver meaningful solutions tailored to your business needs.
Interested in how emerging technologies can benefit you? Reach out to us via email. Start exploring new technologies through our other projects, follow us on Twitter, join our team here, or contact us to discover the right technology for your business.
Role to install and configure Cardano
ansible-galaxy install sionsmith.cardano_node