2022-06-15 13:03:58 +00:00
|
|
|
# Sepolia instances and kiln instances were installed on the same host
|
|
|
|
# Because of variables precedence and merging in ansible,
|
|
|
|
# we had to use include_vars directive to load variables properly.
|
|
|
|
# Otherwise, we would run another 4 kiln instances under sepolia name.
|
|
|
|
---
|
|
|
|
- name: Verify Ansible versions
|
|
|
|
hosts: all
|
|
|
|
tags: always
|
|
|
|
become: false
|
|
|
|
run_once: true
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
|
|
|
|
|
|
|
- name: Deploy Spolia Testnet nodes
|
|
|
|
become: true
|
|
|
|
serial: '{{ serial|default(1) }}'
|
|
|
|
hosts:
|
|
|
|
- nimbus-kiln-metal
|
|
|
|
tasks:
|
|
|
|
- include_vars:
|
|
|
|
file: vars/nimbus-sepolia-metal.yml
|
2022-06-17 09:55:18 +00:00
|
|
|
tags: always
|
2022-06-15 13:03:58 +00:00
|
|
|
- include_role: name=infra-role-geth
|
|
|
|
tags: [ geth, infra-role-geth ]
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|
2022-06-17 09:55:18 +00:00
|
|
|
- include_role: name=infra-role-beacon-node-linux
|
|
|
|
tags: [ beacon-node, infra-role-beacon-node-linux ]
|
|
|
|
with_items: '{{ nodes_layout[hostname] }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: node
|
|
|
|
index_var: idx
|