change a parameter to type=path

This commit is contained in:
Toshio Kuratomi 2016-02-29 00:26:56 -08:00
parent 832e81e691
commit 0019a89d14

View file

@ -193,20 +193,20 @@ class Subversion(object):
def main():
module = AnsibleModule(
argument_spec=dict(
dest=dict(required=True),
dest=dict(required=True, type='path'),
repo=dict(required=True, aliases=['name', 'repository']),
revision=dict(default='HEAD', aliases=['rev', 'version']),
force=dict(default='no', type='bool'),
username=dict(required=False),
password=dict(required=False),
executable=dict(default=None),
executable=dict(default=None, type='path'),
export=dict(default=False, required=False, type='bool'),
switch=dict(default=True, required=False, type='bool'),
),
supports_check_mode=True
)
dest = os.path.expanduser(module.params['dest'])
dest = module.params['dest']
repo = module.params['repo']
revision = module.params['revision']
force = module.params['force']