From 1b742ca56718709bbd69bc2be21ab60fa2885f8c 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 --- files/unarchive | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/unarchive b/files/unarchive index 201de1dfde8..2d2018a4764 100644 --- a/files/unarchive +++ b/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 7cdeddb740ac7fb29f6f3ff4d5e98ad54d2430ba 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 :( --- files/unarchive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/unarchive b/files/unarchive index 2d2018a4764..3dbce9762ca 100644 --- a/files/unarchive +++ b/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