From 36756efff3557024372781f352829be3d18260f5 Mon Sep 17 00:00:00 2001 From: Vedran Mendelski Date: Mon, 13 Jan 2025 16:27:15 +0100 Subject: [PATCH] nimbus: add light-client service --- ansible/group_vars/nimbus.holesky.yml | 3 +++ ansible/light_client.yml | 20 ++++++++++++++++++++ ansible/requirements.yml | 4 ++++ 3 files changed, 27 insertions(+) create mode 100644 ansible/light_client.yml diff --git a/ansible/group_vars/nimbus.holesky.yml b/ansible/group_vars/nimbus.holesky.yml index b901878..ffe54ec 100644 --- a/ansible/group_vars/nimbus.holesky.yml +++ b/ansible/group_vars/nimbus.holesky.yml @@ -175,5 +175,8 @@ open_ports_list: validator-client: - { port: '5053-5056', comment: 'Validator Client REST API', ipset: '{{ env }}.{{ stage }}', iifname: 'wg0' } - { port: '8109-8112', comment: 'Validator Client Metrics', ipset: 'hq.metrics', iifname: 'wg0' } + light-client: + - { port: '9503', comment: 'Light Client LibP2P', protocol: 'tcp' } + - { port: '9503', comment: 'Light Client Discovery', protocol: 'udp' } # Fleet layout can be found in: ansible/vars/layout/holesky.yml diff --git a/ansible/light_client.yml b/ansible/light_client.yml new file mode 100644 index 0000000..0c8f1de --- /dev/null +++ b/ansible/light_client.yml @@ -0,0 +1,20 @@ +--- +- name: Verify Ansible versions + hosts: all + tags: always + become: false + run_once: true + gather_facts: false + tasks: + - local_action: command ./roles.py --check + changed_when: false + +- name: Deploy Nimbus Light Client + become: true + hosts: + - nimbus-holesky-geth + - nimbus-holesky-erigon + - nimbus-holesky-neth + roles: + - { role: infra-role-open-ports, tags: open-ports } + - { role: infra-role-nimbus-light-client, tags: light-client } diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 733add2..7e53acd 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -119,3 +119,7 @@ - name: infra-role-nimbus-bench-eth1 src: git@github.com:status-im/infra-role-nimbus-bench-eth1.git version: ed5059de24c54ab928f390640f9a9a7649753e12 + +- name: infra-role-nimbus-light-client + src: git@github.com:status-im/infra-role-nimbus-light-client.git + version: 1d4291545c7ffb4a5b93f04195d32bd7cd052d90