From 69337362e791dcee36431ef8df28f9b7224eef33 Mon Sep 17 00:00:00 2001 From: Lee Gillentine Date: Fri, 18 Jul 2014 22:22:37 -0500 Subject: [PATCH 1/2] Adding another example to demonstrate unarchive working entirely on a remote machine --- library/files/unarchive | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/files/unarchive b/library/files/unarchive index 201de1dfde8..2d2018a4764 100644 --- a/library/files/unarchive +++ b/library/files/unarchive @@ -69,6 +69,9 @@ notes: EXAMPLES = ''' # Example from Ansible Playbooks - unarchive: src=foo.tgz dest=/var/lib/foo + +# Unarchive a file on a remote machine +- unarchive: src=/tmp/foo.zip dest=/usr/local/bin ''' import os From d631056f27f7252ec6a9d8f37d8c617500a0cf97 Mon Sep 17 00:00:00 2001 From: Lee Gillentine Date: Fri, 25 Jul 2014 14:19:02 -0500 Subject: [PATCH 2/2] Pushing up correct example :( --- library/files/unarchive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/files/unarchive b/library/files/unarchive index 2d2018a4764..3dbce9762ca 100644 --- a/library/files/unarchive +++ b/library/files/unarchive @@ -71,7 +71,7 @@ EXAMPLES = ''' - unarchive: src=foo.tgz dest=/var/lib/foo # Unarchive a file on a remote machine -- unarchive: src=/tmp/foo.zip dest=/usr/local/bin +- unarchive: src=/tmp/foo.zip dest=/usr/local/bin copy=false ''' import os