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 ] }