From 329266975bce454ffa02c53adb9d11aca8bce343 Mon Sep 17 00:00:00 2001 From: Jason Paige Date: Tue, 12 May 2015 12:56:37 +0100 Subject: [PATCH] update flat description default behavior is to append the `hostname/path/to/file`, not prepend as currently stated by the flat arg docs --- lib/ansible/modules/files/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/fetch.py b/lib/ansible/modules/files/fetch.py index 04bebd0301c..37ead3a7352 100644 --- a/lib/ansible/modules/files/fetch.py +++ b/lib/ansible/modules/files/fetch.py @@ -45,7 +45,7 @@ options: flat: version_added: "1.2" description: - - Allows you to override the default behavior of prepending + - Allows you to override the default behavior of appending hostname/path/to/file to the destination. If dest ends with '/', it will use the basename of the source file, similar to the copy module. Obviously this is only handy if the filenames are unique.