From a99189899044be5950e2753031a87eb2867b2b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 2 Jul 2024 10:39:42 +0200 Subject: [PATCH] portal-bridge: move config to separate vars file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/fluffy.yml | 1 + .../host_vars/metal-01.ih-eu-mda1.nimbus.fluffy.yml | 11 ----------- ansible/vars/portal-bridge.yml | 11 +++++++++++ 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 ansible/vars/portal-bridge.yml diff --git a/ansible/fluffy.yml b/ansible/fluffy.yml index dd30b2c..65483e3 100644 --- a/ansible/fluffy.yml +++ b/ansible/fluffy.yml @@ -25,6 +25,7 @@ - name: Configure Nimbus Portal Bridge become: true + vars_files: portal-bridge.yml hosts: - metal-01.ih-eu-mda1.nimbus.fluffy roles: diff --git a/ansible/host_vars/metal-01.ih-eu-mda1.nimbus.fluffy.yml b/ansible/host_vars/metal-01.ih-eu-mda1.nimbus.fluffy.yml index 5f136ed..c4365e3 100644 --- a/ansible/host_vars/metal-01.ih-eu-mda1.nimbus.fluffy.yml +++ b/ansible/host_vars/metal-01.ih-eu-mda1.nimbus.fluffy.yml @@ -2,14 +2,3 @@ bootstrap__extra_volume_bind_paths: DATA_VOLUME1: ['/data'] DATA_VOLUME2: ['/era'] - -# Portal Bridge -portal_bridge_service_name: 'nimbus-portal-bridge' -portal_bridge_rpc_address: '127.0.0.1' -portal_bridge_rpc_port: 8545 -portal_bridge_command: 'history' -portal_bridge_latest: true -portal_bridge_backfill: true -portal_bridge_audit: true -portal_bridge_era1_dir: '/era' -portal_bridge_web3_url: 'https://linux-02.ih-eu-mda1.nimbus.mainnet.wg:8545' diff --git a/ansible/vars/portal-bridge.yml b/ansible/vars/portal-bridge.yml new file mode 100644 index 0000000..a3b8b40 --- /dev/null +++ b/ansible/vars/portal-bridge.yml @@ -0,0 +1,11 @@ +--- +# Portal Bridge +portal_bridge_service_name: 'nimbus-portal-bridge' +portal_bridge_rpc_address: '127.0.0.1' +portal_bridge_rpc_port: 8545 +portal_bridge_command: 'history' +portal_bridge_latest: true +portal_bridge_backfill: true +portal_bridge_audit: true +portal_bridge_era1_dir: '/era' +portal_bridge_web3_url: 'https://linux-02.ih-eu-mda1.nimbus.mainnet.wg:8545'