Add privacy settings to config template (#9)

* Add privacy settings to config template

Signed-off-by: Brett Henderson <brett.henderson@consensys.net>
pull/10/head
Brett Henderson 5 years ago committed by GitHub
parent e895b23c4a
commit 1e771ad128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md
  2. 7
      templates/config.toml.j2

@ -70,6 +70,9 @@ All variables which can be overridden are stored in [defaults/main.yml](defaults
| `besu_host_whitelist` | ["*"] | Comma-separated list of hostnames to allow access to the JSON-RPC API. By default, access from localhost and 127.0.0.1 is accepted. |
| `besu_cmdline_args` | "" | Command line args that are passed in as overrides |
| `besu_env_opts` | "" | Environmental variable BESU_OPTS that gets passed to the JVM. eg: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 |
| `orion_version` | ___unset___ | Version of Orion installed. When supplied, adds required privacy config items and requires `orion_config_dir` and `orion_key_name` to be set |
| `orion_config_dir` | ___unset___ | Path to Orion configuration directory |
| `orion_key_name` | ___unset___ | Name of the Node Key |
### Example Playbook

@ -59,3 +59,10 @@ metrics-port={{besu_metrics_port}}
# bootnodes
bootnodes={{besu_bootnodes}}
{% endif %}
{% if orion_version is defined %}
# Orion
privacy-enabled=true
privacy-url="http://127.0.0.1:8888"
privacy-public-key-file="{{ orion_config_dir }}/{{ orion_key_name }}.pub"
{% endif %}
Loading…
Cancel
Save