From 8b711c1c77da58e1f422d2e0b3557192efca688b Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 29 Feb 2016 00:26:56 -0800 Subject: [PATCH] change a parameter to type=path --- lib/ansible/modules/source_control/subversion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/source_control/subversion.py b/lib/ansible/modules/source_control/subversion.py index 64a1b38b04..c45b11bfe0 100644 --- a/lib/ansible/modules/source_control/subversion.py +++ b/lib/ansible/modules/source_control/subversion.py @@ -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']