sionsmith.cardano_node
Cardano 节点 Ansible 角色
Ansible 角色用于从源代码安装 Cardano 二进制文件。这是一个最佳实践指南,适合有兴趣运行专业 ADA 质押池的人。
用法
要求
无。
角色变量
以下变量也可用,并有默认值:
### 服务器设置
# Cardano 用户名(不能是 'admin' 或 '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" # 如果在同一台机器上运行中继和生产者,请修改此端口
# Shelly 测试网络配置
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"
依赖项
无。
示例
按照这个示例 Playbook
---
- hosts: all
become: yes
gather_facts: yes
vars:
# Cordano 构建标签
cardano_version: "1.14.2"
roles:
- role: sionsmith.cardano_node
客户故事
了解我们的客户故事,看看 OSO 能为您的商业提供什么。
- Mylo 质押 - 我们在 OSO 支持去中心化运动,运行自己的质押池。
需要帮助吗
请在 GitHub 提交 问题,给我们发 邮件 或 发推特。
法律声明
版权 © 2017-2021 OSO | 查看 许可证 获取完整细节。
我们是谁
我们在 OSO 帮助团队采纳新兴技术和解决方案,以提升他们的竞争力、运营卓越性,并引入推动实际商业增长的有意义创新。我们以开发者为核心的文化,加上我们的跨行业经验和经过实践检验的交付方法,使我们能够为您的商业实施最具影响力的解决方案。
想在您的业务中应用新兴技术?请联系我们 email
通过查看 我们的其他项目 开始采纳新技术, 在推特上关注我们, 加入我们的领袖和挑战者团队,或 联系我们 找到支持您业务的合适技术。