don't try to start containers

and remove some unused commands/variables.

The rationale is that these containers need validator keys uploaded to
them before they can start and this is managed elsewhere.
This commit is contained in:
Ștefan Talpalaru 2020-06-25 22:34:44 +02:00
parent 983f428171
commit 62176b5b6c
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 2 additions and 15 deletions

View File

@ -33,5 +33,3 @@ beacon_node_restart_window_sec: 120
# general container management
compose_recreate: false
compose_restart: false
compose_destroy: false

View File

@ -19,19 +19,8 @@
{% if compose_recreate %}
--force-recreate \
{% endif %}
--no-color
--no-color \
--no-start
args:
chdir: '{{ beacon_node_cont_vol }}'
when: compose_state == "present"
- name: 'Restart container: {{ beacon_node_cont_name }}'
command: docker-compose --compatibility down
args:
chdir: '{{ beacon_node_cont_vol }}'
when: compose_restart
- name: 'Destroy container: {{ beacon_node_cont_name }}'
command: docker-compose --compatibility down
args:
chdir: '{{ beacon_node_cont_vol }}'
when: compose_destroy