Merge pull request #8 from EdJoJob/add-identity

Add identity configuration as per hyperledger/besu#150
pull/9/head
Joshua Fernandes 5 years ago committed by GitHub
commit e895b23c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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