diff --git a/defaults/main.yml b/defaults/main.yml index c81d533..ca147cd 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -14,7 +14,7 @@ geth_account_pass_file: '{{ geth_cont_vol }}/keys/account.pass' geth_account_addr_file: '{{ geth_cont_vol }}/keys/account.addr' # Container config -geth_cont_tag: 'v1.10.26' +geth_cont_tag: 'v1.11.1' geth_cont_image: 'ethereum/client-go:{{ geth_cont_tag }}' geth_cont_name: '{{ geth_service_name }}-node' geth_cont_vol: '{{ geth_service_path }}/node' diff --git a/tasks/save_enode.yml b/tasks/save_enode.yml index bd21923..4464433 100644 --- a/tasks/save_enode.yml +++ b/tasks/save_enode.yml @@ -3,15 +3,16 @@ wait_for: host: 'localhost' port: '{{ geth_rpc_port }}' - delay: 5 - connect_timeout: 10 + delay: 20 + connect_timeout: 20 + timeout: 120 state: drained - name: Geth | Get enode address uri: url: http://{{ geth_rpc_addr }}:{{ geth_rpc_port }}/ method: POST - body: '{"id": 1, "method": "admin_nodeInfo"}' + body: '{"id": 1, "jsonrpc": "2.0", "method": "admin_nodeInfo"}' body_format: json return_content: yes register: node_info