Use type='path' for dest (#2175)

reviewable/pr18780/r1
Michael Scherer 9 years ago committed by Brian Coca
parent 85feaa6409
commit d1b16cd007

@ -143,7 +143,7 @@ class Bzr(object):
def main():
module = AnsibleModule(
argument_spec = dict(
dest=dict(required=True),
dest=dict(required=True, type='path'),
name=dict(required=True, aliases=['parent']),
version=dict(default='head'),
force=dict(default='no', type='bool'),
@ -151,7 +151,7 @@ def main():
)
)
dest = os.path.abspath(os.path.expanduser(module.params['dest']))
dest = module.params['dest']
parent = module.params['name']
version = module.params['version']
force = module.params['force']

Loading…
Cancel
Save