add dist_validators_purge_enabled option
Allows for purging all existing validators from node. Necessary for setup of validator clients. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
281fa659e6
commit
95a5de787a
|
@ -7,6 +7,9 @@
|
|||
#dist_validators_val_path: '/docker/node-01/data/validators'
|
||||
#dist_validators_user_pass: ~
|
||||
|
||||
# Disable to not allow removal of validators.
|
||||
dist_validators_purge_enabled: true
|
||||
|
||||
dist_validators_user: 'nimbus'
|
||||
|
||||
# Script log level
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
--start={{ dist_validators_start | mandatory }}
|
||||
--end={{ dist_validators_end | mandatory }}
|
||||
--log-level={{ dist_validators_log_level }}
|
||||
{% if dist_validators_purge_enabled %}--purge{% endif %}
|
||||
--print-count
|
||||
|
||||
- name: Extract number of deployed validators
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
--start={{ dist_validators_start | mandatory }} \
|
||||
--end={{ dist_validators_end | mandatory }} \
|
||||
--log-level={{ dist_validators_log_level }} \
|
||||
{% if dist_validators_purge_enabled %}--purge \{% endif %}
|
||||
--print-count
|
||||
|
||||
- name: Extract number of deployed validators
|
||||
|
|
Loading…
Reference in New Issue