From fe273a4e094c1166a5b8eea0041b6a70cbd5c89c Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Thu, 11 Aug 2016 14:53:37 +0200 Subject: [PATCH] Improve the documentation (#4385) Improvements to make it more clear that pure compressed files (.gz, .bz2 and .xz) files are not supported. This improves on #3241. --- lib/ansible/modules/files/unarchive.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/files/unarchive.py b/lib/ansible/modules/files/unarchive.py index d99cd2a0c2..c2a75842bb 100644 --- a/lib/ansible/modules/files/unarchive.py +++ b/lib/ansible/modules/files/unarchive.py @@ -103,8 +103,7 @@ todo: - re-implement zip support using native zipfile module notes: - requires C(gtar)/C(unzip) command on target host - - can handle I(gzip), I(bzip2) and I(xz) compressed as well as uncompressed tar files - - detects type of archive automatically + - can handle I(.zip) files using C(unzip) as well as I(.tar), I(.tar.gz), I(.tar.bz2) and I(.tar.xz) files using C(gtar) - uses gtar's C(--diff arg) to calculate if changed or not. If this C(arg) is not supported, it will always unpack the archive - existing files/directories in the destination which are not in the archive