From 0e00ad2188bb4534139b023dbc402c0278259a9e Mon Sep 17 00:00:00 2001 From: weiyu Date: Mon, 1 Jun 2015 15:48:57 +0800 Subject: [PATCH] fix ansible libary passing error arguments. kolla is mandatory to run a version of docker-compose that includes pid: host support.docker-compose 1.3.0 to include the necessary features. docker-compose 1.3.0 project.up() abandoned the parameters detach and use allow_recreate replace recreate parameters. closes-Bug: #1458116 Change-Id: I1235da58db5bedf208ebaea2a54568964dc802f8 --- ansible/library/docker_compose | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible/library/docker_compose b/ansible/library/docker_compose index e4d89dedea..0f947e1202 100644 --- a/ansible/library/docker_compose +++ b/ansible/library/docker_compose @@ -201,10 +201,9 @@ class DockerComposer: def up(self): self.project_contains = self.project.up( - detach = True, do_build = not self.no_build, insecure_registry = self.insecure_registry, - recreate = not self.no_recreate, + allow_recreate = not self.no_recreate, service_names = self.service_names, start_deps = not self.no_deps, )