summaryrefslogtreecommitdiff
path: root/windows/win_stat.py
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2016-02-29 14:14:01 -0600
committerMatt Martz <matt@sivel.net>2016-02-29 14:14:01 -0600
commit7823455516f45ff8ec9c21f3993cacbedf9223bc (patch)
tree740e34bd3b5d3c4b8c727a9e3bc424b939feb30c /windows/win_stat.py
parent7162623e8677953bbbc499940f5f7dd19dba680d (diff)
downloadansible-modules-core-7823455516f45ff8ec9c21f3993cacbedf9223bc.tar.gz
Add get_checksum option to win_stat to work with new use of the stat module for checksumming
Diffstat (limited to 'windows/win_stat.py')
-rw-r--r--windows/win_stat.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/windows/win_stat.py b/windows/win_stat.py
index a933384e..e2665598 100644
--- a/windows/win_stat.py
+++ b/windows/win_stat.py
@@ -34,10 +34,18 @@ options:
aliases: []
get_md5:
description:
- - Whether to return the md5 sum of the file
+ - Whether to return the checksum sum of the file. As of Ansible 1.9 this
+ is no longer a MD5, but a SHA1 instead.
required: false
default: yes
aliases: []
+ get_checksum:
+ description:
+ - Whether to return a checksum of the file
+ (only sha1 currently supported)
+ required: false
+ default: yes
+ version_added: "2.1"
author: "Chris Church (@cchurch)"
'''