mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-02-10 10:57:18 +00:00
add cont_restart_policy variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
8f99abe747
commit
d35e1aa301
@ -102,3 +102,4 @@ cont_swap_limit: '{{ (cont_mem_limit|int) + (ansible_swaptotal_mb * cont_mem_rat
|
||||
cont_state: started
|
||||
cont_restart: false
|
||||
cont_recreate: false
|
||||
cont_restart_policy: always
|
||||
|
@ -5,7 +5,7 @@
|
||||
image: '{{ geth_cont_image }}'
|
||||
user: root
|
||||
pull: true
|
||||
restart_policy: always
|
||||
restart_policy: '{{ cont_restart_policy }}'
|
||||
state: '{{ cont_state }}'
|
||||
recreate: '{{ cont_recreate }}'
|
||||
restart: '{{ cont_restart }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user