Merge pull request #3652 from mscherer/fix_hg
Use the proper type for 'dest' argument
This commit is contained in:
commit
1d4d74fef9
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