|
|
@ -24,6 +24,7 @@ options:
|
|
|
|
- The full path of the file/object to get the facts of.
|
|
|
|
- The full path of the file/object to get the facts of.
|
|
|
|
type: path
|
|
|
|
type: path
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
|
|
|
|
aliases: [ dest, name ]
|
|
|
|
follow:
|
|
|
|
follow:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Whether to follow symlinks.
|
|
|
|
- Whether to follow symlinks.
|
|
|
@ -431,7 +432,7 @@ def format_output(module, path, st):
|
|
|
|
def main():
|
|
|
|
def main():
|
|
|
|
module = AnsibleModule(
|
|
|
|
module = AnsibleModule(
|
|
|
|
argument_spec=dict(
|
|
|
|
argument_spec=dict(
|
|
|
|
path=dict(type='path', required=True),
|
|
|
|
path=dict(type='path', required=True, aliases=['dest', 'name']),
|
|
|
|
follow=dict(type='bool', default=False),
|
|
|
|
follow=dict(type='bool', default=False),
|
|
|
|
get_md5=dict(type='bool', default=False),
|
|
|
|
get_md5=dict(type='bool', default=False),
|
|
|
|
get_checksum=dict(type='bool', default=True),
|
|
|
|
get_checksum=dict(type='bool', default=True),
|
|
|
|