update use of dist-validators to supply user

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-07-16 15:08:10 +02:00
parent 992c8a43a4
commit 1edf2629a7
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 5 additions and 1 deletions

View File

@ -13,3 +13,6 @@ galaxy_info:
- name: consul-service
src: git+git@github.com:status-im/infra-role-consul-service.git
scm: git
- name: infra-role-dist-validators
src: git+git@github.com:status-im/infra-role-dist-validators.git
scm: git

View File

@ -2,6 +2,7 @@
- name: 'Distribute validators and secrets'
include_role: name=infra-role-dist-validators
vars:
dist_validators_user: 'dockremap'
dist_validators_name: '{{ beacon_node_dist_validators_name }}'
dist_validators_start: '{{ beacon_node_dist_validators_start | mandatory }}'
dist_validators_end: '{{ beacon_node_dist_validators_end | mandatory }}'
@ -10,7 +11,7 @@
- when: dist_validators_deployed is defined
block:
- name: 'Show number of validators deployed'
debug: msg='Deployed {{ dist_validators_deployed|length }} validators'
debug: msg='Deployed {{ dist_validators_deployed }} validators'
- name: 'Restart beacon node container'
command: 'docker-compose restart'