From 386b755892ab6fce0fc09d75045e9a34c3219a4a Mon Sep 17 00:00:00 2001 From: Bruce Pennypacker Date: Wed, 28 Aug 2013 14:16:57 +0000 Subject: [PATCH 1/2] added optional ignore_md5_mismatch parameter --- files/fetch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/files/fetch b/files/fetch index 30d07c22b26..32f4f548f41 100644 --- a/files/fetch +++ b/files/fetch @@ -34,6 +34,13 @@ options: required: false choices: [ "yes", "no" ] default: "no" + ignore_md5_mismatch: + version_added: "1.3" + description: + - Do not check the md5sum of the destination file. Useful if transferring files that may change during the transfer, such as log files. + required: false + choices: [ "yes", "no" ] + default: "no" flat: version_added: "1.2" description: From 5949b87334feb4622a86e01d56033fe67b136c88 Mon Sep 17 00:00:00 2001 From: Bruce Pennypacker Date: Wed, 28 Aug 2013 14:41:00 +0000 Subject: [PATCH 2/2] changed ignore_md5_mismatch to validate_md5 --- files/fetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/fetch b/files/fetch index 32f4f548f41..800f25274c8 100644 --- a/files/fetch +++ b/files/fetch @@ -34,13 +34,13 @@ options: required: false choices: [ "yes", "no" ] default: "no" - ignore_md5_mismatch: + validate_md5: version_added: "1.3" description: - - Do not check the md5sum of the destination file. Useful if transferring files that may change during the transfer, such as log files. + - Verify that the source and destination md5sums match after the files are fetched. required: false choices: [ "yes", "no" ] - default: "no" + default: "yes" flat: version_added: "1.2" description: