From 80ab62fab73405429d7d092bf1c2525e0f992a60 Mon Sep 17 00:00:00 2001 From: Alexander Dzyoba Date: Tue, 13 Jun 2017 20:16:45 +0300 Subject: [PATCH] Remove 'z' from untar command The latest Zookeeper version 3.5.3-beta is distributed as plain tar archive, so `tar zxf` fails with `gzip: stdin: not in gzip format`. Also, recent versions of tar recognize format by itself, so there is no need in 'z' option. --- tasks/tarball.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/tarball.yml b/tasks/tarball.yml index eaf54ea..144bc28 100644 --- a/tasks/tarball.yml +++ b/tasks/tarball.yml @@ -32,7 +32,7 @@ zookeeper_archive_s3_object is not defined - name: Unpack tarball. - command: tar zxf {{zookeeper_tarball_dir}}/zookeeper-{{zookeeper_version}}.tar.gz --strip-components=1 chdir={{zookeeper_dir}} creates={{zookeeper_dir}}/bin + command: tar xf {{zookeeper_tarball_dir}}/zookeeper-{{zookeeper_version}}.tar.gz --strip-components=1 chdir={{zookeeper_dir}} creates={{zookeeper_dir}}/bin tags: bootstrap - group: name=zookeeper system=yes