From 40d888922b823d0919d72fa67a287ade52ba73c4 Mon Sep 17 00:00:00 2001 From: Ritesh Khadgaray Date: Wed, 5 Apr 2017 09:11:03 -0400 Subject: [PATCH] stat: better documentation - md5 fails if the file is not a regular file ( symlink, dir,..) --- lib/ansible/modules/files/stat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/stat.py b/lib/ansible/modules/files/stat.py index 009a04fd1a..272c8e6b5b 100644 --- a/lib/ansible/modules/files/stat.py +++ b/lib/ansible/modules/files/stat.py @@ -39,7 +39,8 @@ options: default: no get_md5: description: - - Whether to return the md5 sum of the file. Will return None if we're + - Whether to return the md5 sum of the file. + - Will return None if not a regular file or if we're unable to use md5 (Common for FIPS-140 compliant systems) required: false default: yes