From 62176b5b6cd0ee614061fddb949658114931c5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Thu, 25 Jun 2020 22:34:44 +0200 Subject: [PATCH] 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. --- defaults/main.yml | 2 -- tasks/container.yml | 15 ++------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index d18033d..f196539 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -33,5 +33,3 @@ beacon_node_restart_window_sec: 120 # general container management compose_recreate: false -compose_restart: false -compose_destroy: false diff --git a/tasks/container.yml b/tasks/container.yml index 6f2bf6e..ca6dda9 100644 --- a/tasks/container.yml +++ b/tasks/container.yml @@ -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