Skip to content

Commit 72295a9

Browse files
committedMar 12, 2024
fix empty to 0.0.0.0
1 parent c7e6eac commit 72295a9

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed
 

‎roles/geth/defaults/main.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ geth_announced_ipv6: "{{ ansible_default_ipv6.address }}"
77
geth_cleanup: false # when set to "true" it will remove the container
88

99
geth_ports_p2p: 30303
10-
geth_ports_p2p_ipv6: 30304
1110
geth_ports_http_rpc: 8545
1211
geth_ports_engine: 8551
1312
geth_ports_metrics: 6060
@@ -18,10 +17,10 @@ geth_container_env: {}
1817
geth_container_ports:
1918
- "127.0.0.1:{{ geth_ports_http_rpc }}:{{ geth_ports_http_rpc }}"
2019
- "127.0.0.1:{{ geth_ports_engine }}:{{ geth_ports_engine }}"
21-
- "{{ geth_ports_p2p }}:{{ geth_ports_p2p }}"
22-
- "{{ geth_ports_p2p }}:{{ geth_ports_p2p }}/udp"
23-
- "[::]:{{ geth_ports_p2p_ipv6 }}:{{ geth_ports_p2p_ipv6 }}"
24-
- "[::]:{{ geth_ports_p2p_ipv6 }}:{{ geth_ports_p2p_ipv6 }}/udp"
20+
- "0.0.0.0:{{ geth_ports_p2p }}:{{ geth_ports_p2p }}"
21+
- "0.0.0.0:{{ geth_ports_p2p }}:{{ geth_ports_p2p }}/udp"
22+
- "[::]:{{ geth_ports_p2p }}:{{ geth_ports_p2p }}"
23+
- "[::]:{{ geth_ports_p2p }}:{{ geth_ports_p2p }}/udp"
2524
geth_container_volumes:
2625
- "{{ geth_datadir }}:/data"
2726
- "{{ geth_auth_jwt_path }}:/execution-auth.jwt:ro"

‎roles/lighthouse/defaults/main.yaml

+9-10
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ lighthouse_announced_ipv6: "{{ ansible_default_ipv6.address }}"
1111
lighthouse_cleanup: false # when set to "true" it will remove the container(s)
1212

1313
lighthouse_ports_p2p_tcp: 9000
14-
lighthouse_ports_p2p_tcp_ipv6: 9002
1514
lighthouse_ports_p2p_udp: 9000
16-
lighthouse_ports_p2p_udp_ipv6: 9002
1715
lighthouse_ports_http_beacon: 5052
1816
lighthouse_ports_metrics: 5054
1917
lighthouse_ports_quic: 9001
@@ -34,12 +32,13 @@ lighthouse_container_image: sigp/lighthouse:latest
3432
lighthouse_container_env: {}
3533
lighthouse_container_ports:
3634
- "127.0.0.1:{{ lighthouse_ports_http_beacon }}:{{ lighthouse_ports_http_beacon }}"
37-
- "{{ lighthouse_ports_p2p_tcp }}:{{ lighthouse_ports_p2p_tcp }}"
38-
- "{{ lighthouse_ports_p2p_udp }}:{{ lighthouse_ports_p2p_udp }}/udp"
35+
- "0.0.0.0:{{ lighthouse_ports_p2p_tcp }}:{{ lighthouse_ports_p2p_tcp }}"
36+
- "0.0.0.0:{{ lighthouse_ports_p2p_udp }}:{{ lighthouse_ports_p2p_udp }}/udp"
37+
- "[::]:{{ lighthouse_ports_p2p_tcp }}:{{ lighthouse_ports_p2p_tcp }}"
38+
- "[::]:{{ lighthouse_ports_p2p_udp }}:{{ lighthouse_ports_p2p_udp }}/udp"
3939
- "{{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}"
4040
- "{{ lighthouse_ports_quic }}:{{ lighthouse_ports_quic }}/udp"
41-
- "[::]:{{ lighthouse_ports_p2p_tcp_ipv6 }}:{{ lighthouse_ports_p2p_udp_ipv6 }}"
42-
- "[::]:{{ lighthouse_ports_p2p_udp_ipv6 }}:{{ lighthouse_ports_p2p_udp_ipv6 }}/udp"
41+
4342
lighthouse_container_volumes:
4443
- "{{ lighthouse_datadir }}:/data"
4544
- "{{ lighthouse_auth_jwt_path }}:/execution-auth.jwt:ro"
@@ -54,15 +53,15 @@ lighthouse_container_command:
5453
- --disable-enr-auto-update
5554
- --enr-address={{ lighthouse_announced_ip }}
5655
- --enr-address={{ lighthouse_announced_ipv6 }}
57-
- --enr-tcp6-port={{ lighthouse_ports_p2p_tcp_ipv6 }}
56+
- --enr-tcp6-port={{ lighthouse_ports_p2p_tcp }}
5857
- --enr-tcp-port={{ lighthouse_ports_p2p_tcp }}
5958
- --enr-udp-port={{ lighthouse_ports_p2p_udp }}
60-
- --enr-udp6-port={{ lighthouse_ports_p2p_udp_ipv6 }}
59+
- --enr-udp6-port={{ lighthouse_ports_p2p_udp }}
6160
- --listen-address=0.0.0.0
6261
- --port={{ lighthouse_ports_p2p_tcp }}
63-
- --port6={{ lighthouse_ports_p2p_tcp_ipv6 }}
62+
- --port6={{ lighthouse_ports_p2p_tcp }}
6463
- --discovery-port={{ lighthouse_ports_p2p_udp }}
65-
- --discovery-port6={{ lighthouse_ports_p2p_udp_ipv6 }}
64+
- --discovery-port6={{ lighthouse_ports_p2p_udp }}
6665
- --http
6766
- --http-address=0.0.0.0
6867
- --http-port={{ lighthouse_ports_http_beacon }}

‎roles/lodestar/defaults/main.yaml

+8-10
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ lodestar_announced_ipv6: "{{ ansible_default_ipv6.address }}"
1111
lodestar_cleanup: false # when set to "true" it will remove the container(s)
1212

1313
lodestar_ports_p2p_tcp: 9000
14-
lodestar_ports_p2p_tcp_ipv6: 9002
1514
lodestar_ports_p2p_udp: 9000
16-
lodestar_ports_p2p_udp_ipv6: 9002
1715
lodestar_ports_http_beacon: 9596
1816
lodestar_ports_metrics: 8008
1917

@@ -31,10 +29,10 @@ lodestar_container_image: chainsafe/lodestar:latest
3129
lodestar_container_env: {}
3230
lodestar_container_ports:
3331
- "127.0.0.1:{{ lodestar_ports_http_beacon }}:{{ lodestar_ports_http_beacon }}"
34-
- "{{ lodestar_ports_p2p_tcp }}:{{ lodestar_ports_p2p_tcp }}"
35-
- "{{ lodestar_ports_p2p_udp }}:{{ lodestar_ports_p2p_udp }}/udp"
36-
- "[::]:{{ lodestar_ports_p2p_tcp_ipv6 }}:{{ lodestar_ports_p2p_tcp_ipv6 }}"
37-
- "[::]:{{ lodestar_ports_p2p_udp_ipv6 }}:{{ lodestar_ports_p2p_udp_ipv6 }}/udp"
32+
- "0.0.0.0:{{ lodestar_ports_p2p_tcp }}:{{ lodestar_ports_p2p_tcp }}"
33+
- "0.0.0.0:{{ lodestar_ports_p2p_udp }}:{{ lodestar_ports_p2p_udp }}/udp"
34+
- "[::]:{{ lodestar_ports_p2p_tcp }}:{{ lodestar_ports_p2p_tcp }}"
35+
- "[::]:{{ lodestar_ports_p2p_udp }}:{{ lodestar_ports_p2p_udp }}/udp"
3836
lodestar_container_volumes:
3937
- "{{ lodestar_datadir }}:/data"
4038
- "{{ lodestar_auth_jwt_path }}:/execution-auth.jwt:ro"
@@ -48,14 +46,14 @@ lodestar_container_command:
4846
- --listenAddress=0.0.0.0
4947
- --listenAddress6=::0
5048
- --port={{ lodestar_ports_p2p_tcp }}
51-
- --port6={{ lodestar_ports_p2p_tcp_ipv6 }}
49+
- --port6={{ lodestar_ports_p2p_tcp }}
5250
- --enr.ip={{ lodestar_announced_ip }}
5351
- --enr.ip6={{ lodestar_announced_ipv6 }}
5452
- --enr.tcp={{ lodestar_ports_p2p_tcp }}
55-
- --enr.tcp6={{ lodestar_ports_p2p_tcp_ipv6 }}
53+
- --enr.tcp6={{ lodestar_ports_p2p_tcp }}
5654
- --enr.udp={{ lodestar_ports_p2p_udp }}
57-
- --enr.udp6={{ lodestar_ports_p2p_udp_ipv6 }}
58-
- --discoveryPort6={{ lodestar_ports_p2p_udp_ipv6 }}
55+
- --enr.udp6={{ lodestar_ports_p2p_udp }}
56+
- --discoveryPort6={{ lodestar_ports_p2p_udp }}
5957
- --rest
6058
- --rest.address=0.0.0.0
6159
- --rest.port={{ lodestar_ports_http_beacon }}

0 commit comments

Comments
 (0)
Please sign in to comment.