Add identity configuration as per hyperledger/besu#150

Signed-off-by: Edward Evans <edward.evans@consensys.net>
pull/8/head
Edward Evans 5 years ago
parent 566a507e20
commit 30c23cbdd6
No known key found for this signature in database
GPG Key ID: D043D2B173BC2484
  1. 1
      README.md
  2. 5
      templates/config.toml.j2

@ -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' |

@ -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}}

Loading…
Cancel
Save