diff --git a/ansible/roles/faucet/tasks/consul.yml b/ansible/roles/faucet/tasks/consul.yml index ee33688..362e74f 100644 --- a/ansible/roles/faucet/tasks/consul.yml +++ b/ansible/roles/faucet/tasks/consul.yml @@ -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