Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
We download a zip, no need to untar
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Apr 20, 2020
1 parent 622c921 commit f6c5e95
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,7 @@
src: "{{ download_zlib.dest }}"
dest: "{{ boost_prefix }}"
delete_archive: true
creates: "{{ boost_prefix }}/zlib-{{ zlib_version }}.tar"
copy: false
tags:
- zlib

- name: untar lzib source
win_unzip:
src: "{{ boost_prefix }}/zlib-{{ zlib_version }}.tar"
dest: "{{ boost_prefix }}"
delete_archive: true
creates: "{{ boost_prefix }}/zlib-{{ zlib_version }}"
creates: "{{ boost_prefix }}/zlib-{{ zlib_version }}/contrib"
copy: false
tags:
- zlib
Expand All @@ -69,7 +59,7 @@
- bzip2

- name: unpack bzip2 source
win_shell: '7z x "{{ download_bzip2.dest }}" -so | 7z x -aoa -si -ttar -o"{{ boost_prefix }}"'
win_shell: '7z x -r "{{ download_bzip2.dest }}" -so | 7z x -aoa -si -ttar -o"{{ boost_prefix }}"'
args:
creates: "{{ boost_prefix }}/bzip2-{{ bzip2_version }}"
chdir: "{{ boost_workdir }}"
Expand Down

0 comments on commit f6c5e95

Please sign in to comment.