Add aliases to path parameter of stat module (#61270)
This commit is contained in:
parent
d4ad541eee
commit
3ad602bfa6
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ options:
|
|||
- The full path of the file/object to get the facts of.
|
||||
type: path
|
||||
required: true
|
||||
aliases: [ dest, name ]
|
||||
follow:
|
||||
description:
|
||||
- Whether to follow symlinks.
|
||||
|
@ -431,7 +432,7 @@ def format_output(module, path, st):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
path=dict(type='path', required=True),
|
||||
path=dict(type='path', required=True, aliases=['dest', 'name']),
|
||||
follow=dict(type='bool', default=False),
|
||||
get_md5=dict(type='bool', default=False),
|
||||
get_checksum=dict(type='bool', default=True),
|
||||
|
|
Loading…
Add table
Reference in a new issue