From eb44131dc6b551dbd216bb71f2c16d5e6baa1df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 25 Nov 2020 15:58:44 +0100 Subject: [PATCH] add configuration for nimbus.mainnet bootstrap nodes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/nimbus-mainnet-small.yml | 4 ++++ ansible/mainnet.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 ansible/group_vars/nimbus-mainnet-small.yml create mode 100644 ansible/mainnet.yml diff --git a/ansible/group_vars/nimbus-mainnet-small.yml b/ansible/group_vars/nimbus-mainnet-small.yml new file mode 100644 index 0000000..9e969fe --- /dev/null +++ b/ansible/group_vars/nimbus-mainnet-small.yml @@ -0,0 +1,4 @@ +--- +beacon_node_network: 'mainnet' +beacon_node_cont_tag: 'master-small' +beacon_node_web3_url: 'wss://mainnet.infura.io/ws/v3/9e2f2cc13f70432f8b87dbe7d51b81db' diff --git a/ansible/mainnet.yml b/ansible/mainnet.yml new file mode 100644 index 0000000..05237bf --- /dev/null +++ b/ansible/mainnet.yml @@ -0,0 +1,14 @@ +--- +- name: Pre-playbook checks + hosts: localhost + tasks: + - name: 'Verify Ansible version is 2.8 or newer' + assert: + that: 'ansible_version.full is version_compare("2.8", ">=")' + msg: 'Your Ansible version is lower than 2.8. Upgrade it.' + +- name: Configure network mainnet bootnodes + hosts: + - nimbus-mainnet-small + roles: + - { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }