Skip to content

Commit

Permalink
feat: set all node ips to public ips
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Sep 4, 2024
1 parent 3cefe66 commit 4315db7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions infrastructure/nomad/playbooks/variables/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ jobs:
p2p:
to: 30301
env:
ip: 0.0.0.0
ip: "{{ ansible_facts['default_ipv4']['address'] }}"
public_ip: "{{ ansible_facts['default_ipv4']['address'] }}"
net_restrict: "{{ ansible_facts['default_ipv4']['address'] }}/32"
type: bootnode

mev_commit_geth_signer_node1: &mev_commit_geth_signer_node1_job
name: mev-commit-geth-signer-node1
template: mev-commit-geth.nomad.j2
Expand All @@ -77,7 +78,7 @@ jobs:
to: 30311
static: 30311
env:
ip: 127.0.0.1
ip: "{{ ansible_facts['default_ipv4']['address'] }}"
net_restrict: "{{ ansible_facts['default_ipv4']['address'] }}/32"
type: signer
port: 30311
Expand All @@ -99,7 +100,7 @@ jobs:
to: 30312
static: 30312
env:
ip: 127.0.0.1
ip: "{{ ansible_facts['default_ipv4']['address'] }}"
net_restrict: "{{ ansible_facts['default_ipv4']['address'] }}/32"
type: signer
port: 30312
Expand All @@ -121,7 +122,7 @@ jobs:
to: 30313
static: 30313
env:
ip: 127.0.0.1
ip: "{{ ansible_facts['default_ipv4']['address'] }}"
net_restrict: "{{ ansible_facts['default_ipv4']['address'] }}/32"
type: signer
port: 30313
Expand All @@ -145,7 +146,7 @@ jobs:
p2p:
to: 30311
env:
ip: 0.0.0.0
ip: "{{ ansible_facts['default_ipv4']['address'] }}"
public_ip: "{{ ansible_facts['default_ipv4']['address'] }}"
net_restrict: 0.0.0.0/0
type: member
Expand Down

0 comments on commit 4315db7

Please sign in to comment.