2021-07-16 13:10:54 +00:00
|
|
|
---
|
|
|
|
- name: 'Distribute validators and secrets'
|
|
|
|
include_role: name=infra-role-dist-validators
|
|
|
|
vars:
|
2022-09-12 13:50:43 +00:00
|
|
|
dist_validators_name: '{{ beacon_node_dist_validators_name }}'
|
2022-07-15 08:46:14 +00:00
|
|
|
dist_validators_user: '{{ beacon_node_service_user_name }}'
|
2021-07-16 13:10:54 +00:00
|
|
|
dist_validators_user_pass: '{{ beacon_node_service_user_pass }}'
|
2022-07-15 08:46:14 +00:00
|
|
|
dist_validators_start: '{{ beacon_node_dist_validators_start | mandatory }}'
|
|
|
|
dist_validators_end: '{{ beacon_node_dist_validators_end | mandatory }}'
|
2022-09-12 13:50:43 +00:00
|
|
|
dist_validators_sec_path: '{{ beacon_node_dist_validators_sec_path | mandatory }}'
|
|
|
|
dist_validators_val_path: '{{ beacon_node_dist_validators_val_path | mandatory }}'
|
2021-07-16 13:10:54 +00:00
|
|
|
|
|
|
|
- when: dist_validators_deployed is defined
|
|
|
|
block:
|
|
|
|
- name: 'Show number of validators deployed'
|
|
|
|
debug: msg='Deployed {{ dist_validators_deployed }} validators'
|
|
|
|
|
|
|
|
- name: Restart beacon node
|
|
|
|
win_service:
|
|
|
|
name: '{{ beacon_node_service_name }}'
|
|
|
|
state: 'restarted'
|