add task for creating trusted-nodes.json file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a1084b7acb
commit
0beccbceef
|
@ -38,6 +38,9 @@ geth_max_peers: 25
|
|||
geth_light_serv: 90
|
||||
# Peer discovery protocol
|
||||
geth_v5disc_enabled: true
|
||||
# List of trusted peers to connect to
|
||||
geth_trusted_peers: []
|
||||
geth_trusted_peers_file: '{{ geth_data_path }}/trusted-nodes.json'
|
||||
|
||||
# logging
|
||||
geth_lov_level_names:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- import_tasks: generate.yml
|
||||
- import_tasks: trusted_peers.yml
|
||||
- import_tasks: container.yml
|
||||
- import_tasks: firewall.yml
|
||||
- import_tasks: wrapper.yml
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Create a list of trusted peers
|
||||
copy:
|
||||
content: '{{ geth_trusted_peers | to_nice_json }}'
|
||||
path: '{{ geth_trusted_peers_file }}'
|
||||
owner: dockremap
|
||||
group: docker
|
||||
mode: 0600
|
||||
when: geth_trusted_peers|length > 0
|
Loading…
Reference in New Issue