diff --git a/lib/ansible/modules/files/stat.py b/lib/ansible/modules/files/stat.py index bb0c38f0133..4e9bc1dc2dd 100644 --- a/lib/ansible/modules/files/stat.py +++ b/lib/ansible/modules/files/stat.py @@ -121,10 +121,10 @@ EXAMPLES = ''' msg: "Path exists and is a directory" when: p.stat.isdir is defined and p.stat.isdir -# Don't do md5 checksum +# Don't do checksum - stat: path: /path/to/myhugefile - get_md5: no + get_checksum: no # Use sha256 to calculate checksum - stat: