Use the proper type for 'dest' argument
This commit is contained in:
parent
298fd0ae56
commit
514da9550b
1 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ def main():
|
|||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
repo = dict(required=True, aliases=['name']),
|
||||
dest = dict(required=True),
|
||||
dest = dict(required=True, type='path'),
|
||||
revision = dict(default=None, aliases=['version']),
|
||||
force = dict(default='no', type='bool'),
|
||||
purge = dict(default='no', type='bool'),
|
||||
|
@ -220,7 +220,7 @@ def main():
|
|||
),
|
||||
)
|
||||
repo = module.params['repo']
|
||||
dest = os.path.expanduser(module.params['dest'])
|
||||
dest = module.params['dest']
|
||||
revision = module.params['revision']
|
||||
force = module.params['force']
|
||||
purge = module.params['purge']
|
||||
|
|
Loading…
Reference in a new issue