distribute-validators: make sure dist_validators_range has a value

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-17 13:59:38 +01:00
parent e43f66f965
commit a11e60cc93
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 11 additions and 11 deletions

View File

@ -13,4 +13,4 @@ dist_validators_layout: {}
# 'node-01': { start: 0, end: 1023 }
# 'node-01': { start: 1024, end: 2047 }
dist_validators_range: '{{ dist_validators_layout[hostname] }}'
dist_validators_range: '{{ dist_validators_layout[hostname] | mandatory }}'

View File

@ -1,13 +1,13 @@
---
#- name: Clone repo with secrets/validators
# git:
# repo: '{{ dist_validators_repo_url }}'
# dest: '{{ dist_validators_repo_path }}'
# version: '{{ dist_validators_repo_rev }}'
# update: true
# force: true
# accept_hostkey: true
# become_user: '{{ dist_validators_repo_user }}'
---
- name: Clone repo with secrets/validators
git:
repo: '{{ dist_validators_repo_url }}'
dest: '{{ dist_validators_repo_path }}'
version: '{{ dist_validators_repo_rev }}'
update: true
force: true
accept_hostkey: true
become_user: '{{ dist_validators_repo_user }}'
- name: Find all validators
find: