diff --git a/README.md b/README.md index 0a28850..ee977d1 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ All variables which can be overridden are stored in [defaults/main.yml](defaults | `besu_launchd_dir` | /Library/LaunchAgents | The default launchd directory | | `besu_systemd_dir` | /etc/systemd/system/ | The default systemd directory | | `besu_systemd_state` | restarted | The default option for the systemd service state | +| `besu_identity` | ___unset___ | Configuration of Identity in the Client ID | | `besu_host_ip` | "" | The host IP that Besu uses for the P2P network. This specifies the host on which P2P listens | | `besu_default_ip` | "{{ default(ansible_host) \| default('127.0.0.1') }}" | The fallback default for `besu_host_ip` | | `besu_network` | mainnet | The network that this node will join. Other values are 'ropsten', 'rinkeby', 'goerli', 'dev' and 'custom' | diff --git a/templates/config.toml.j2 b/templates/config.toml.j2 index 2392fce..35ac55c 100644 --- a/templates/config.toml.j2 +++ b/templates/config.toml.j2 @@ -15,6 +15,11 @@ genesis-file="{{ besu_genesis_path }}" sync-mode="{{besu_sync_mode}}" host-whitelist=[{{besu_host_whitelist|map('to_json')|join(',')}}] +{% if besu_identity is defined %} +# identity +identity="{{ besu_identity }}" +{% endif %} + # rpc {% if besu_rpc_http_enabled|bool == True %} rpc-http-enabled={{besu_rpc_http_enabled}}