change a parameter to type=path
This commit is contained in:
parent
ecafdeeaa5
commit
8b711c1c77
1 changed files with 3 additions and 3 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue