Ansible role that will install (& uninstall), configure and runs Besu: an enterprise Java Ethereum Client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-role-besu/defaults/main.yml

103 lines
3.2 KiB

---
# User and group
besu_user: besu
besu_group: "{{ besu_user }}"
# Version to install
besu_download_url: "https://github.com/hyperledger/besu/releases/download/{{ besu_version }}/besu-{{ besu_version }}.tar.gz"
# Building from source
besu_build_from_source: false
besu_git_repo: "https://github.com/hyperledger/besu.git"
besu_git_commit: "master"
# Directory paths
besu_base_dir: "/opt/besu"
besu_install_dir: "{{ besu_base_dir }}/besu-{{ besu_version }}"
besu_current_dir: "{{ besu_base_dir }}/current"
besu_node_private_key_file: ""
besu_config_dir: "/etc/besu"
besu_config_template: "config.toml.j2"
besu_data_dir: "{{ besu_base_dir }}/data"
besu_log_dir: "/var/log/besu"
besu_profile_file: "/etc/profile.d/besu-path.sh"
besu_static_nodes_file: "{{ besu_config_dir }}/static-nodes.json"
besu_local_permissions_config_file: "{{ besu_config_dir }}/permissions_config.toml"
besu_local_permissions_config_file_template: "permissions_config.toml.j2"
# Managed service config
besu_managed_service: true
besu_systemd_state: restarted
besu_systemd_template: besu.service.j2
besu_systemd_dir: /etc/systemd/system
besu_launchd_template: org.hyperledger.besu.plist.j2
besu_launchd_dir: /Library/LaunchAgents
# Besu config
besu_host_ip: ""
besu_default_ip: "127.0.0.1"
besu_network: mainnet
besu_sync_mode: FAST
besu_p2p_port: 30303
besu_min_gas: 1000
besu_miner_extra_data: ""
besu_miner_coinbase: 0x
besu_miner_enabled: "false"
besu_rpc_http_enabled: "true"
besu_rpc_http_host: 0.0.0.0
besu_rpc_http_port: 8545
besu_rpc_http_api: ["ADMIN", "DEBUG", "NET", "ETH", "MINER", "WEB3"]
besu_rpc_http_cors_origins: ["all"]
besu_rpc_ws_api: ["NET", "ETH", "WEB3"]
besu_rpc_ws_enabled: "true"
besu_rpc_ws_host: 0.0.0.0
besu_rpc_ws_port: 8546
besu_rpc_http_authentication_enabled: "false"
besu_rpc_http_authentication_credentials_file: ""
besu_rpc_http_authentication_jwt_public_key_file: ""
besu_rpc_ws_authentication_enabled: "false"
besu_rpc_ws_authentication_credentials_file: ""
besu_rpc_ws_authentication_jwt_public_key_file: ""
besu_graphql_http_enabled: "true"
besu_graphql_http_host: 0.0.0.0
besu_graphql_http_port: 8547
besu_graphql_http_cors_origins: ["all"]
besu_metrics_host: 0.0.0.0
besu_metrics_port: 9545
besu_bootnodes: []
besu_host_whitelist: ["*"]
besu_cmdline_args: []
besu_env_opts: []
besu_env_vars: {}
besu_permissions_nodes_contract_version: 2
besu_local_permissions_enabled: "false"
besu_local_permissions_accounts: []
besu_local_permissions_nodes: []
besu_xdns_enabled: "false"
besu_static_nodes: []
besu_tx_pool: layered
# float values in the range [0..1], 1=single sender can fill the entire tx pool
# https://github.com/hyperledger/besu/issues/4611
besu_tx_pool_limit_by_account_percentage: 0.001
besu_tx_pool_max_size: 4096
besu_tx_pool_price_bump: 10
besu_tx_pool_retention_hours: 13
# fleet mode plugin
#LEADER/FOLLOWER
besu_plugin_fleet_node_role: ""
besu_plugin_fleet_leader_http_host: ""
beus_plugin_fleet_leader_http_port: 8545
besu_plugin_fleet_follower_http_host: ""
besu_plugin_fleet_follower_http_port: 8545
# privacy
besu_privacy_enabled: "false"
besu_privacy_url: "http://127.0.0.1:8888"
besu_privacy_public_key_file: ""
besu_privacy_marker_tx_signing_key_file: ""
# internal state to maintain idempotency
besu_state_updates: []