mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Change one param to be of type path
This commit is contained in:
parent
8b711c1c77
commit
390dbe5090
1 changed files with 1 additions and 2 deletions
|
@ -305,7 +305,7 @@ import grp
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
path = dict(required=True),
|
||||
path = dict(required=True, type='path'),
|
||||
follow = dict(default='no', type='bool'),
|
||||
get_md5 = dict(default='yes', type='bool'),
|
||||
get_checksum = dict(default='yes', type='bool'),
|
||||
|
@ -316,7 +316,6 @@ def main():
|
|||
)
|
||||
|
||||
path = module.params.get('path')
|
||||
path = os.path.expanduser(path)
|
||||
follow = module.params.get('follow')
|
||||
get_md5 = module.params.get('get_md5')
|
||||
get_checksum = module.params.get('get_checksum')
|
||||
|
|
Loading…
Reference in a new issue