mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-02-10 19:07:46 +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_state: started
|
||||||
cont_restart: false
|
cont_restart: false
|
||||||
cont_recreate: false
|
cont_recreate: false
|
||||||
|
cont_restart_policy: always
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
image: '{{ geth_cont_image }}'
|
image: '{{ geth_cont_image }}'
|
||||||
user: root
|
user: root
|
||||||
pull: true
|
pull: true
|
||||||
restart_policy: always
|
restart_policy: '{{ cont_restart_policy }}'
|
||||||
state: '{{ cont_state }}'
|
state: '{{ cont_state }}'
|
||||||
recreate: '{{ cont_recreate }}'
|
recreate: '{{ cont_recreate }}'
|
||||||
restart: '{{ cont_restart }}'
|
restart: '{{ cont_restart }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user