add formatting with jq

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-04-16 20:22:56 +02:00
parent a592e102af
commit dc27740e40
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

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