Merge pull request #3652 from mscherer/fix_hg

Use the proper type for 'dest' argument
This commit is contained in:
Toshio Kuratomi 2016-05-17 10:13:57 -07:00
commit 1d4d74fef9

View file

@ -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']