make location of rpc.sh wrapper customizable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
5ad36567e8
commit
c3b51f0799
|
@ -41,6 +41,8 @@ geth_rpc_vhosts:
|
|||
- '{{ hostname }}'
|
||||
- '{{ hostname }}.tinc'
|
||||
- '{{ ansible_local.tinc.vpn_ip }}'
|
||||
# Wrapper for easier RPC usage
|
||||
get_rpc_wrapper: '{{ geth_service_path }}/rpc.sh'
|
||||
# Web Sockets API
|
||||
geth_websocket_enabled: true
|
||||
geth_websocket_port: '{{ geth_rpc_port + 1 | int }}'
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
checks:
|
||||
- id: '{{ geth_cont_name }}-rpc-status'
|
||||
type: 'script'
|
||||
script: '{{ geth_service_path }}/rpc.sh eth_syncing'
|
||||
script: '{{ geth_rpc_wrapper }} eth_syncing'
|
||||
timeout: '5s'
|
||||
|
||||
- name: '{{ geth_cont_name }}-ws'
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
- name: Create Geth JSON RPC wrapper script
|
||||
template:
|
||||
src: 'rpc.sh.j2'
|
||||
dest: '{{ geth_service_path }}/rpc.sh'
|
||||
dest: '{{ geth_rpc_wrapper }}'
|
||||
owner: 'root'
|
||||
group: 'docker'
|
||||
mode: 0750
|
||||
|
|
Loading…
Reference in New Issue