infra-role-geth/tasks/trusted_peers.yml

10 lines
240 B
YAML

---
- name: Create a list of trusted peers
copy:
content: '{{ geth_trusted_peers | to_nice_json }}'
dest: '{{ geth_trusted_peers_file }}'
owner: dockremap
group: docker
mode: 0600
when: geth_trusted_peers|length > 0