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

76 lines
2.1 KiB

---
# User and group
besu_user: besu
besu_group: "{{ besu_user }}"
# Version to install
besu_download_url: "https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/{{ 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_log4j_config_file: ""
besu_profile_file: "/etc/profile.d/besu-path.sh"
# 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_log_level: INFO
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_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_permissions_nodes_contract_version: 2
# 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: []