Merge pull request #2431 from tima/checksum_algo_alias
Added the checksum_algo alias to the stats module.
This commit is contained in:
commit
0e0f87be12
1 changed files with 3 additions and 2 deletions
|
@ -53,6 +53,7 @@ options:
|
||||||
required: false
|
required: false
|
||||||
choices: [ 'sha1', 'sha224', 'sha256', 'sha384', 'sha512' ]
|
choices: [ 'sha1', 'sha224', 'sha256', 'sha384', 'sha512' ]
|
||||||
default: sha1
|
default: sha1
|
||||||
|
aliases: [ 'checksum_algo' ]
|
||||||
version_added: "2.0"
|
version_added: "2.0"
|
||||||
author: "Bruce Pennypacker (@bpennypacker)"
|
author: "Bruce Pennypacker (@bpennypacker)"
|
||||||
'''
|
'''
|
||||||
|
@ -292,7 +293,7 @@ def main():
|
||||||
follow = dict(default='no', type='bool'),
|
follow = dict(default='no', type='bool'),
|
||||||
get_md5 = dict(default='yes', type='bool'),
|
get_md5 = dict(default='yes', type='bool'),
|
||||||
get_checksum = dict(default='yes', type='bool'),
|
get_checksum = dict(default='yes', type='bool'),
|
||||||
checksum_algorithm = dict(default='sha1', type='str', choices=['sha1', 'sha224', 'sha256', 'sha384', 'sha512'])
|
checksum_algorithm = dict(default='sha1', type='str', choices=['sha1', 'sha224', 'sha256', 'sha384', 'sha512'], aliases=['checksum_algo'])
|
||||||
),
|
),
|
||||||
supports_check_mode = True
|
supports_check_mode = True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue