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
This commit is contained in:
weiyu 2015-06-01 15:48:57 +08:00
parent 59a2cd4089
commit 0e00ad2188
1 changed files with 1 additions and 2 deletions

View File

@ -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,
)