Skip to content

Commit

Permalink
Remove 'z' from untar command
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dzeban committed Jun 13, 2017
1 parent 3ac38ed commit 80ab62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80ab62f

Please sign in to comment.