change a parameter to type=path
This commit is contained in:
parent
832e81e691
commit
0019a89d14
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