consensys.lighthouse
Ansibleロール: ライトハウス
説明
Ansibleロールで、lighthouseをインストール、設定、実行します。
目次
サポートされているプラットフォーム
* MacOS
* Debian
* Ubuntu
* Redhat(CentOS/Fedora)
* Amazon
依存関係
- Docker
ロール変数:
上書き可能なすべての変数は、defaults/main.ymlファイルに保存されています。これらの変数は、主に設定オプションです。詳細はlighthouseのドキュメントを参照してください。
名前 | デフォルト値 | 説明 |
---|---|---|
lighthouse_version |
未設定 | 必須 インストールして実行するlighthouseのバージョン。 |
lighthouse_user |
lighthouse | lighthouseのユーザー |
lighthouse_group |
lighthouse | lighthouseのグループ |
lighthouse_base_dir |
/opt/lighthouse | インストール先パス |
lighthouse_config_dir |
/etc/lighthouse | デフォルト設定用のパス |
lighthouse_data_dir |
/opt/lighthouse/data | データディレクトリ用のパス |
lighthouse_log_dir |
/var/log/lighthouse | ログディレクトリのパス |
lighthouse_log_level |
"info" | ログレベル |
lighthouse_log_max_size |
25 | ログファイルのサイズ(MB)でローテーションをトリガーする |
lighthouse_log_max_number |
14 | 保持するローテーションされたログファイルの数 |
lighthouse_network |
mainnet | 予め定義されたネットワーク設定 |
lighthouse_jwt_auth_file |
"/etc/jwt-secret.hex" | JWTファイルのパス |
lighthouse_enable_doppelganger_protection |
True | デフォルトでダブルガイア保護を有効にする |
lighthouse_validator_enabled |
"False" | バリデータモードで実行するかどうか - 秘密鍵とキーは自分でコピーする必要があります |
lighthouse_execution_urls |
"http://127.0.0.1:8551" | elcの実行URL |
lighthouse_validator_beaconnodes |
"http://lighthouse-beacon:9596" | バリデータが使用するビジョンエンドポイント |
lighthouse_checkpoint_sync_url |
"https://beaconstate-{{lighthouse_network}}.chainsafe.io" | チェックポイントの同期で処理を速くする |
lighthouse_default_fee_recipient |
"" | デフォルトの手数料受取先アドレス |
lighthouse_disable_deposit_contract_sync |
True | バリデータ用のdeposit_contract_sync |
lighthouse_keystores_dir |
"/config/keys" | バリデータ用のキーのディレクトリ |
lighthouse_secrets_dir |
"/config/secrets" | バリデータ用の秘密のディレクトリ |
キー/秘密
使用している設定ディレクトリ(つまり lighthouse_config_dir
)に自分の秘密とキーを入れる必要があることを注意してください。
例のプレイブック
- デフォルト設定: ロールをギャラクシーからインストール
ansible-galaxy install consensys.lighthouse
以下の内容でrequirements.ymlを作成します:
使用したいバージョンにx.y.z
を置き換えてください
---
- hosts: localhost
connection: local
force_handlers: True
roles:
- role: consensys.lighthouse
vars:
lighthouse_version: x.y.z
ansible-playbookで実行します:
ansible-playbook -v /path/to/requirements.yml
- GitHubからインストール
ansible-galaxy install git+https://github.com/consensys/ansible-role-lighthouse.git
以下の内容でrequirements.ymlを作成します:
使用したいバージョンにx.y.z
を置き換えてください
---
- hosts: localhost
connection: local
force_handlers: True
roles:
- role: ansible-role-lighthouse
vars:
lighthouse_version: x.y.z
ansible-playbookで実行します:
ansible-playbook -v /path/to/requirements.yml
ライセンス
Apache
著者情報
コンセンサス, 2023
プロジェクトについて
lighthouse is an open-source ethereum 2 client
インストール
ansible-galaxy install consensys.lighthouse
ライセンス
Unknown
ダウンロード
1.5k
所有者
Consensys is the software engineering leader of the blockchain space. Our full-stack Ethereum products help developers build next-generation networks.