restart only on geth failure

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-08-09 14:46:00 -04:00
parent 0804df48b4
commit 37c19cc51a
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@ geth_cache: '{{ (ansible_memtotal_mb * mem_cache_ratio|float) | int }}'
# has to be higher than mem_cache_ratio
cont_mem_ratio: 0.2
# don't auto-restart contianer on out-of-memory error
cont_restart_policy: on-failure
# credentials for the wallet
geth_account_pass: '{{lookup("passwordstore", "services/faucet/account-pass")}}'
geth_account_addr: '{{lookup("passwordstore", "services/faucet/account-addr")}}'