mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-18 17:52:17 +00:00
distribute-validators: create container folder if missing
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d7930a8437
commit
c6c7159e94
@ -1,9 +1,17 @@
|
||||
---
|
||||
- name: Create container folder if absent
|
||||
file:
|
||||
path: '/docker/{{ dist_validators_cont_name }}'
|
||||
state: 'directory'
|
||||
owner: dockremap
|
||||
group: docker
|
||||
mode: 0750
|
||||
|
||||
- name: Stop container if running
|
||||
command: docker-compose stop
|
||||
args:
|
||||
chdir: '/docker/{{ dist_validators_cont_name }}'
|
||||
#ignore_errors: true
|
||||
ignore_errors: true
|
||||
|
||||
- name: Remove validators/secrets folders
|
||||
file:
|
||||
@ -57,4 +65,4 @@
|
||||
command: docker-compose start
|
||||
args:
|
||||
chdir: '/docker/{{ dist_validators_cont_name }}'
|
||||
#ignore_errors: true
|
||||
ignore_errors: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user