Make possible to not start containers on compose

When upgrading from releases it could happen that you need to do some
manual steps (i.e. upgrading from postgres 9.6 to 10). In these cases
you'd want to check the docker-compose.yml and then launch it by
yourself.
Today we don't have any method to get just the files that will be used
while installing via compose, without starting the containers. This
commit adds a variable named "compose_start_containers" (true by
default) that, if false, will make the playbook just generate the files
in the compose directory and not start the containers.
This commit is contained in:
Raoul Scarazzini
2020-01-30 15:59:04 +01:00
parent d6c70e8d3a
commit 1e97bb71db
3 changed files with 16 additions and 11 deletions

View File

@@ -18,3 +18,5 @@ memcached_image: "memcached"
memcached_version: "alpine"
memcached_hostname: "memcached"
memcached_port: "11211"
compose_start_containers: true