consensys.nethermind

Ansibleロール: Nethermind

説明

Ansibleロールで、Nethermindをインストール、設定し、実行します。これは、パフォーマンスと柔軟性を重視して作られた.NET CoreのEthereum実行レイヤークライアントです。

目次

対応プラットフォーム

* MacOS
* Debian
* Ubuntu
* Redhat(CentOS/Fedora)
* Amazon

ロール変数

上書き可能なすべての変数は、defaults/main.ymlファイルに保存されています。ENV変数名だけが説明として記載されている変数は、デフォルトから変更したい場合に設定すべきAnsible変数に対応しています。詳細についてはnethermindのドキュメントを参照してください。

名前 デフォルト値 説明
nethermind_version "latest" インストールして実行するNethermindのバージョンです。利用可能なすべてのバージョンはnethermindのソリューションページに記載されています。バージョンの「v」を省略してください。例: 1.4.0
nethermind_user nethermind nethermindユーザー
nethermind_group nethermind nethermindグループ
nethermind_download_url unset 使用するダウンロードtar.gzファイルです。内部リポジトリなどカスタムの場所からNethermindを取得する必要がある場合に使用できます。
nethermind_install_dir /opt/nethermind インストール先のパス
nethermind_config_dir /etc/nethermind デフォルトの設定用パス
nethermind_data_dir /opt/nethermind/data データディレクトリのパス
nethermind_log_dir /var/log/nethermind ログのためのパス
nethermind_managed_service true systemdサービスを有効にします(Darwinの場合はlaunchd)
nethermind_launchd_dir /Library/LaunchAgents デフォルトのlaunchdディレクトリ
nethermind_systemd_dir /etc/systemd/system/ デフォルトのsystemdディレクトリ
nethermind_systemd_state restarted systemdサービスのデフォルトの状態オプション
nethermind_config_base mainnet 使用したい設定ベースです。こちらにリストがあります。名前の「.cfg」を省略してください。
nethermind_cmdline_args [] 実行のために渡す追加のコマンドライン引数のリスト。例: ["--JsonRpc.EnginePort=8551"]

(他の変数は省略)

例となるプレイブック

  1. デフォルトのセットアップ: galaxyからロールをインストールします。
ansible-galaxy install consensys.nethermind

次の内容でrequirements.ymlを作成します: x.y.zをNethermindのソリューションページから使用したいバージョンに置き換えてください。

---
- hosts: localhost
  connection: local
  force_handlers: True

  roles:
  - role: consensys.nethermind
    vars:
      nethermind_version: x.y.z

ansible-playbookで実行します:

ansible-playbook -v /path/to/requirements.yml
  1. GitHub経由でのインストール
ansible-galaxy install git+https://github.com/ConsenSys/ansible-role-nethermind.git

次の内容でrequirements.ymlを作成します: x.y.zをNethermindのソリューションページから使用したいバージョンに置き換えてください。

---
- hosts: localhost
  connection: local
  force_handlers: True

  roles:
  - role: ansible-role-nethermind
    vars:
      nethermind_version: x.y.z

ansible-playbookで実行します:

ansible-playbook -v /path/to/requirements.yml

ライセンス

Apache

著者情報

Consensys, 2022

プロジェクトについて

Nethermind is an open-source .NET core ethereum client

インストール
ansible-galaxy install consensys.nethermind
ライセンス
apache-2.0
ダウンロード
4.7k
所有者
Consensys is the software engineering leader of the blockchain space. Our full-stack Ethereum products help developers build next-generation networks.