--- - name: 'Distribute validators and secrets' include_role: name=infra-role-dist-validators vars: dist_validators_name: '{{ beacon_node_dist_validators_name }}' dist_validators_user: '{{ beacon_node_service_user_name }}' dist_validators_user_pass: '{{ beacon_node_service_user_pass }}' dist_validators_start: '{{ beacon_node_dist_validators_start | mandatory }}' dist_validators_end: '{{ beacon_node_dist_validators_end | mandatory }}' dist_validators_sec_path: '{{ beacon_node_dist_validators_sec_path | mandatory }}' dist_validators_val_path: '{{ beacon_node_dist_validators_val_path | mandatory }}' - 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'