distribute-validators: make sure dist_validators_range has a value
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e43f66f965
commit
a11e60cc93
|
@ -13,4 +13,4 @@ dist_validators_layout: {}
|
||||||
# 'node-01': { start: 0, end: 1023 }
|
# 'node-01': { start: 0, end: 1023 }
|
||||||
# 'node-01': { start: 1024, end: 2047 }
|
# 'node-01': { start: 1024, end: 2047 }
|
||||||
|
|
||||||
dist_validators_range: '{{ dist_validators_layout[hostname] }}'
|
dist_validators_range: '{{ dist_validators_layout[hostname] | mandatory }}'
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
---
|
---
|
||||||
#- name: Clone repo with secrets/validators
|
- name: Clone repo with secrets/validators
|
||||||
# git:
|
git:
|
||||||
# repo: '{{ dist_validators_repo_url }}'
|
repo: '{{ dist_validators_repo_url }}'
|
||||||
# dest: '{{ dist_validators_repo_path }}'
|
dest: '{{ dist_validators_repo_path }}'
|
||||||
# version: '{{ dist_validators_repo_rev }}'
|
version: '{{ dist_validators_repo_rev }}'
|
||||||
# update: true
|
update: true
|
||||||
# force: true
|
force: true
|
||||||
# accept_hostkey: true
|
accept_hostkey: true
|
||||||
# become_user: '{{ dist_validators_repo_user }}'
|
become_user: '{{ dist_validators_repo_user }}'
|
||||||
|
|
||||||
- name: Find all validators
|
- name: Find all validators
|
||||||
find:
|
find:
|
||||||
|
|
Loading…
Reference in New Issue