From 2afd3717dde50a7cd0552b53e4398aa57d366555 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 21 May 2018 03:02:51 +0200 Subject: [PATCH] unarchive seems to do its job now?! --- ansible/roles/openwrt-image/tasks/prepare.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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: -- 1.7.10.4