add formatting with jq
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a592e102af
commit
dc27740e40
|
@ -11,7 +11,7 @@
|
|||
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' \
|
||||
http://localhost:{{ faucet_geth_rpc_port }}/)
|
||||
echo "${RESP}" | jq -e ".result == false" \
|
||||
|| ( echo "${RESP}"; exit 1 )
|
||||
|| ( echo "${RESP}" | jq . ; exit 1 )
|
||||
|
||||
- name: 'Consul service definition - {{ faucet_geth_name }}-rpc'
|
||||
include_role: name=consul-service
|
||||
|
|
Loading…
Reference in New Issue