From: Christian Pointner Date: Mon, 21 May 2018 01:02:51 +0000 (+0200) Subject: unarchive seems to do its job now?! X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=2afd3717dde50a7cd0552b53e4398aa57d366555;p=noc.git unarchive seems to do its job now?! --- diff --git a/ansible/roles/openwrt-image/tasks/prepare.yml b/ansible/roles/openwrt-image/tasks/prepare.yml index 5fb6f6d..f403cad 100644 --- a/ansible/roles/openwrt-image/tasks/prepare.yml +++ b/ansible/roles/openwrt-image/tasks/prepare.yml @@ -82,16 +82,10 @@ trim_blocks: yes when: openwrt_groups is defined or openwrt_users is defined -### TODO: this just hangs? -# - unarchive: -# copy: False -# src: "{{ openwrt_download_dir }}/{{ openwrt_tarball_name }}" -# dest: "{{ openwrt_imgbuilder_dir }}" - -- name: Decompress the OpenWrt image builder - command: >- - tar -xf "{{ openwrt_download_dir }}/{{ openwrt_tarball_name }}" - -C "{{ openwrt_imgbuilder_dir }}" +- unarchive: + copy: False + src: "{{ openwrt_download_dir }}/{{ openwrt_tarball_name }}" + dest: "{{ openwrt_imgbuilder_dir }}" - name: Symlink the cache repository file: