infra-role-geth/tasks/trusted_peers.yml
Jakub Sokołowski 0beccbceef
add task for creating trusted-nodes.json file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 14:29:11 +02:00

10 lines
240 B
YAML

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